mirror of
https://github.com/github/gitignore
synced 2024-11-25 21:24:23 +01:00
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.
This commit is contained in:
parent
07c730e1fc
commit
18bdb88484
@ -4,6 +4,3 @@
|
|||||||
# .tfstate files
|
# .tfstate files
|
||||||
*.tfstate
|
*.tfstate
|
||||||
*.tfstate.*
|
*.tfstate.*
|
||||||
|
|
||||||
# .tfvars files
|
|
||||||
*.tfvars
|
|
||||||
|
Loading…
Reference in New Issue
Block a user