1
0
mirror of https://github.com/github/gitignore synced 2024-12-23 13:20:17 +01:00
gitignore/Terraform.gitignore
Josh Kodroff 18bdb88484
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.
2018-04-04 13:59:50 -04:00

7 lines
88 B
Plaintext

# Local .terraform directories
**/.terraform/*
# .tfstate files
*.tfstate
*.tfstate.*