Non ignorare lo stato, ignorare i plan file.

This commit is contained in:
Andrea Dell'Amico 2024-01-21 11:56:13 +01:00
parent 8ac561db22
commit 8f102a9d9e
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 14 additions and 2 deletions

16
.gitignore vendored
View File

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