diff --git a/.gitignore b/.gitignore index 80474a698..a16630aed 100644 --- a/.gitignore +++ b/.gitignore @@ -104,7 +104,9 @@ backend.hcl # Terraform plan files tfplan +tfplan.* *.tfplan +*.tfplan.* # Terraform state and outputs terraform-apply-*.txt diff --git a/terraform/.gitignore b/terraform/.gitignore index b11af29cc..c339229ee 100644 --- a/terraform/.gitignore +++ b/terraform/.gitignore @@ -33,8 +33,10 @@ terraform.rc !.terraform.lock.hcl # Plan files +tfplan +tfplan.* *.tfplan -*.tfplan.json +*.tfplan.* # Environment-specific variable files environments/**/terraform.tfvars