| 1 | # Local .terraform directories |
| 2 | **/.terraform/* |
| 3 | |
| 4 | # .tfstate files |
| 5 | *.tfstate |
| 6 | *.tfstate.* |
| 7 | |
| 8 | # Crash log files |
| 9 | crash.log |
| 10 | |
| 11 | # Ignore any .tfvars files that are generated automatically for each Terraform run. Most |
| 12 | # .tfvars files are managed as part of configuration and so should be included in |
| 13 | # version control. |
| 14 | # |
| 15 | # example.tfvars |
| 16 | |
| 17 | # Ignore override files as they are usually used to override resources locally and so |
| 18 | # are not checked in |
| 19 | override.tf |
| 20 | override.tf.json |
| 21 | *_override.tf |
| 22 | *_override.tf.json |
| 23 | |
| 24 | # Include override files you do wish to add to version control using negated pattern |
| 25 | # |
| 26 | # !example_override.tf |
| 27 | |
| 28 | # Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan |
| 29 | # example: *tfplan* |