Skip to content

Commit 18bdb88

Browse files
authored
Remove tfvars files from Terraform.gitignore
`tfvars` files should not be gitignore-d as they are used to parameterize a Terraform root for multiple environments, e.g.: ```bash $ tree terraform/roots/vpc terraform/roots/vpc ├── env │   ├── production.tfvars │   ├── qa.tfvars │   └── staging.tfvars └── main.tf ``` There may be a use case where a particular `tfvars` file should be ignored, but there's no naming convention I'm aware of to easily designate such a file.
1 parent 07c730e commit 18bdb88

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Terraform.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,3 @@
44
# .tfstate files
55
*.tfstate
66
*.tfstate.*
7-
8-
# .tfvars files
9-
*.tfvars

0 commit comments

Comments
 (0)