diff --git a/.gitignore b/.gitignore index d8a0726..d056e63 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,31 @@ +# Local .terraform directories +**/.terraform/* +# .tfstate files +*.tfstate +*.tfstate.* + +# 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 + +# 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 + +# Ignore CLI configuration files +.terraformrc +terraform.rc + +# Ignore Build Binaries *.exe -*tfstate*