chore(terraform): add .gitignore — exclude tfstate and sensitive files
This commit is contained in:
parent
81b791dd98
commit
572fd53692
22
infrastructure/terraform/.gitignore
vendored
Normal file
22
infrastructure/terraform/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# Terraform state — never commit
|
||||
*.tfstate
|
||||
*.tfstate.backup
|
||||
*.tfstate.*.backup
|
||||
|
||||
# Terraform working directory
|
||||
.terraform/
|
||||
.terraform.lock.hcl
|
||||
|
||||
# Sensitive variable files
|
||||
*.tfvars
|
||||
!terraform.tfvars.example
|
||||
|
||||
# Crash logs
|
||||
crash.log
|
||||
crash.*.log
|
||||
|
||||
# Override files
|
||||
override.tf
|
||||
override.tf.json
|
||||
*_override.tf
|
||||
*_override.tf.json
|
||||
Loading…
Reference in New Issue
Block a user