Quick question for anyone that is using AWS SAM to deploy their microservices in AWS. Do you include your.aws-sam files into your repositories? Or do you gitignore this directory and sub directories?
No, you should not revision control the .aws-sam
folder(s). Add them to .gitignore
.
These folders contain intermediate and output files and will, for example, include Python packages, Node modules and other undesirables. None of these should be committed.
You don't need to include the .aws-sam directory in your repository.
The content of this directory are the artifacts outputted from your sam build
command, and can always be recreated.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.