- Track .terraform.lock.hcl for reproducible provider versions - Add terraform.tfvars.example as a template for sensitive values - Fix .gitignore to not exclude lock file - Add default value for ssh_public_key variable
16 lines
197 B
Text
16 lines
197 B
Text
# Terraform
|
|
*.tfstate
|
|
*.tfstate.*
|
|
.terraform/
|
|
*.tfvars
|
|
!terraform.tfvars.example
|
|
|
|
# Variables
|
|
*.tfvars.backup
|
|
|
|
# Local state
|
|
# (keep .terraform.lock.hcl in version control)
|
|
|
|
# SSH keys
|
|
*.pem
|
|
*.key
|