44 lines
666 B
Text
44 lines
666 B
Text
# Local .terraform directories
|
|
**/.terraform/*
|
|
|
|
# .tfstate files
|
|
*.tfstate
|
|
*.tfstate.*
|
|
|
|
# Crash log files
|
|
crash.log
|
|
crash.*.log
|
|
|
|
# Exclude all .tfvars files, which are likely to contain sensitive data
|
|
*.tfvars
|
|
*.tfvars.json
|
|
|
|
# But include the example file
|
|
!terraform.tfvars.example
|
|
|
|
# Ignore override files as they are usually used to override resources locally
|
|
override.tf
|
|
override.tf.json
|
|
*_override.tf
|
|
*_override.tf.json
|
|
|
|
# Ignore CLI configuration files
|
|
.terraformrc
|
|
terraform.rc
|
|
|
|
# Ignore lock file (optional - some teams commit this)
|
|
# .terraform.lock.hcl
|
|
|
|
# Secrets directory
|
|
.secrets/
|
|
|
|
# SSH keys
|
|
*.pem
|
|
*_key
|
|
*.key
|
|
id_*
|
|
!*.pub
|
|
|
|
# Backup files
|
|
*.backup
|
|
*.bak
|