2018-11-03 22:06:09 +00:00
|
|
|
# Local .terraform directories
|
|
|
|
**/.terraform/*
|
|
|
|
|
|
|
|
# .tfstate files
|
2017-03-15 12:30:00 +00:00
|
|
|
*.tfstate
|
2018-11-03 22:06:09 +00:00
|
|
|
*.tfstate.*
|
|
|
|
|
|
|
|
# Crash log files
|
|
|
|
crash.log
|
2021-12-12 00:25:18 +00:00
|
|
|
crash.*.log
|
2018-11-03 22:06:09 +00:00
|
|
|
|
2022-02-06 00:16:02 +00:00
|
|
|
# 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
|
2020-09-02 16:57:08 +00:00
|
|
|
# to change depending on the environment.
|
|
|
|
*.tfvars
|
2022-02-20 00:16:03 +00:00
|
|
|
*.tfvars.json
|
2018-11-03 22:06:09 +00: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
|
2017-03-15 12:30:00 +00:00
|
|
|
|
2024-06-03 00:27:17 +00:00
|
|
|
# Ignore transient lock info files created by terraform apply
|
|
|
|
.terraform.tfstate.lock.info
|
|
|
|
|
2018-11-03 22:06:09 +00:00
|
|
|
# Include override files you do wish to add to version control using negated pattern
|
|
|
|
# !example_override.tf
|
2019-12-19 23:04:12 +00:00
|
|
|
|
|
|
|
# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
|
|
|
|
# example: *tfplan*
|
2020-09-02 16:57:08 +00:00
|
|
|
|
|
|
|
# Ignore CLI configuration files
|
|
|
|
.terraformrc
|
|
|
|
terraform.rc
|
2024-06-03 00:27:17 +00:00
|
|
|
|
|
|
|
# Ignore hcl file
|
|
|
|
.terraform.lock.hcl
|