1
0
mirror of https://github.com/github/gitignore synced 2024-11-05 03:18:51 +01:00
Commit Graph

8 Commits

Author SHA1 Message Date
Josh Kodroff
da1a828471
Update Terraform.gitignore 2018-05-13 17:55:40 -04:00
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
Han Tuzun
dca471d597
Update Terraform.gitignore
Improvements: 

 * `.terraform` directories could be created in any subdirectory when user runs `terraform init`.
 * Quite an interesting variations of`.tfstate` files are created by Terraform such as `.*.tfstate.d` or  `.*.tfstate.lock.info`. It's best not to name any file with `*.tfstate.*` pattern.
 * `*.tfvars` files often contain private data and not supposed to be committed.
2017-10-29 22:26:00 +02:00
Brendan Forster
def18893cb Merge pull request #2429 from yetanotherchris/patch-1
Update Terraform.gitignore - ignore terraform.tfvars
2017-09-09 11:01:41 +10:00
Pei-lun
aba6a6d354 '*.tfstate.*.backup' added to Terraform.gitignore 2017-08-14 10:02:05 +08:00
Chris S
b19efa92af Update Terraform.gitignore
Added .tfvars file so for example AWS credentials aren't committed.
2017-07-14 12:22:39 +01:00
Desmond O. Chang
254da0b717 Ignore terraform module directory
See <https://www.terraform.io/docs/commands/get.html>
2016-07-14 14:34:04 +08:00
aaron caito
221f974e80 adding terraform state files 2016-02-26 11:54:57 -05:00