diff --git a/.gitignore b/.gitignore index a9e8a0c..cd27389 100644 --- a/.gitignore +++ b/.gitignore @@ -3,8 +3,9 @@ **/.terraform/* # .tfstate files -*.tfstate +# *.tfstate *.tfstate.* +!terraform.tfstate # Crash log files crash.log @@ -16,7 +17,7 @@ crash.*.log # to change depending on the environment. *.tfvars *.tfvars.json - +!*.auto.tfvars # Ignore override files as they are usually used to override resources locally and so # are not checked in override.tf @@ -34,3 +35,14 @@ override.tf.json .terraformrc terraform.rc +# output plans +*-plan.zip + + +# Ignore ssh_key_file_ref +**/ssh-key-ref-outputs.tf + +# Ignore the lock files +*.lock.hcl + +.project