'Why are the credentials files in the .aws folder deleted after deploying Codedeploy on AWS?

I'm working on a php application.

The structure of the directory is as follows

.

  • .aws
  • php file
  • _docker
  • docker-compose.yml

The _docker folder has php.ini, nginx settings.

If you proceed with the distribution to Coddeploy of aws.You can see that the credentials file in the aws folder is missing. After distribution, it will be created again if you do doc-compose up again.

Why is it like this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source