1# Created by https://www.toptal.com/developers/gitignore/api/ansible,terraform 2# Edit at https://www.toptal.com/developers/gitignore?templates=ansible,terraform 3 4### Ansible ### 5*.retry 6 7### Terraform ### 8# Local .terraform directories 9**/.terraform/* 10 11# .tfstate files 12*.tfstate 13*.tfstate.* 14 15# Crash log files 16crash.log 17crash.*.log 18 19# Exclude all .tfvars files, which are likely to contain sensitive data, such as 20# password, private keys, and other secrets. These should not be part of version 21# control as they are data points which are potentially sensitive and subject 22# to change depending on the environment. 23*.tfvars 24*.tfvars.json 25 26# Ignore override files as they are usually used to override resources locally and so 27# are not checked in 28override.tf 29override.tf.json 30*_override.tf 31*_override.tf.json 32 33# Include override files you do wish to add to version control using negated pattern 34# !example_override.tf 35 36# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan 37# example: *tfplan* 38 39# Ignore CLI configuration files 40.terraformrc 41terraform.rc 42 43# End of https://www.toptal.com/developers/gitignore/api/ansible,terraform 44.envrc