diff --git a/.gitignore b/.gitignore index c300160..e532183 100644 --- a/.gitignore +++ b/.gitignore @@ -1,27 +1,16 @@ -# ---> Ansible *.retry -# ---> OpenTofu -# 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.tofu override.tf.json @@ -31,17 +20,11 @@ override.tofu.json *_override.tf.json *_override.tofu.json -# Ignore transient lock info files created by tofu apply .terraform.tfstate.lock.info -# Include override files you do wish to add to version control using negated pattern -# !example_override.tf -# !example_override.tofu - -# Include tfplan files to ignore the plan output of command: tofu plan -out=tfplan -# example: *tfplan* - -# Ignore CLI configuration files .terraformrc terraform.rc +*-credentials.tfbackend + +.terraform.lock.hcl