1
0
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:
Josh Kodroff 2018-04-04 13:59:50 -04:00 committed by GitHub
parent 07c730e1fc
commit 18bdb88484
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,3 @@
# .tfstate files # .tfstate files
*.tfstate *.tfstate
*.tfstate.* *.tfstate.*
# .tfvars files
*.tfvars