AWS SAM / CDK projects
Avoid committing credentials, .aws/ cache and build outputs.
Explore resourceProfessional .gitignore tools
Aws project template
Using GitIgnore.pro fallback template because the official template was unavailable during generation.
# Aws .gitignore template
# Generated by GitIgnore.pro
# Logs
*.log
logs/
# Dependencies
node_modules/
vendor/
# Build outputs
build/
dist/
out/
# Cache
.cache/
*.tmp
# Environment variables
.env
.env.local
# IDE
.vscode/
.idea/
*.swp
*.swo
# OS
.DS_Store
Thumbs.db.gitignore in your project rootAvoid committing credentials, .aws/ cache and build outputs.
Explore resourceLearn best practices for storing keys outside Git.
Explore resourceRun the validator to ensure nothing sensitive is tracked.
Explore resourceQuickly scaffold ignore files covering Lambda, CDK, SAM and more.