2023-10-23 19:50:07 +02:00
|
|
|
# ---> Terraform
|
|
|
|
# Local .terraform directories
|
|
|
|
**/.terraform/*
|
|
|
|
|
|
|
|
# .tfstate files
|
2023-11-09 20:16:59 +01:00
|
|
|
# *.tfstate
|
2023-10-23 19:50:07 +02:00
|
|
|
*.tfstate.*
|
2023-11-23 12:39:22 +01:00
|
|
|
!terraform.tfstate
|
2023-10-23 19:50:07 +02:00
|
|
|
|
|
|
|
# Crash log files
|
|
|
|
crash.log
|
|
|
|
crash.*.log
|
|
|
|
|
|
|
|
# Exclude all .tfvars files, which are likely to contain sensitive data, such as
|
|
|
|
# password, private keys, and other secrets. These should not be part of version
|
|
|
|
# control as they are data points which are potentially sensitive and subject
|
|
|
|
# to change depending on the environment.
|
|
|
|
*.tfvars
|
|
|
|
*.tfvars.json
|
2023-11-06 12:54:44 +01:00
|
|
|
!*.auto.tfvars
|
2023-10-23 19:50:07 +02:00
|
|
|
# Ignore override files as they are usually used to override resources locally and so
|
|
|
|
# are not checked in
|
|
|
|
override.tf
|
|
|
|
override.tf.json
|
|
|
|
*_override.tf
|
|
|
|
*_override.tf.json
|
|
|
|
|
|
|
|
# Include override files you do wish to add to version control using negated pattern
|
|
|
|
# !example_override.tf
|
|
|
|
|
|
|
|
# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
|
|
|
|
# example: *tfplan*
|
|
|
|
|
|
|
|
# Ignore CLI configuration files
|
|
|
|
.terraformrc
|
|
|
|
terraform.rc
|
|
|
|
|
2023-11-05 19:37:20 +01:00
|
|
|
# output plans
|
|
|
|
*-plan.zip
|
2023-11-24 11:22:49 +01:00
|
|
|
|
|
|
|
|
|
|
|
# Ignore ssh_key_file_ref
|
2023-11-24 17:16:20 +01:00
|
|
|
**/ssh-key-ref-outputs.tf
|
2023-11-24 11:22:49 +01:00
|
|
|
|
2023-12-04 18:02:49 +01:00
|
|
|
# Ignore the lock files
|
|
|
|
*.lock.hcl
|
|
|
|
|