1
0
mirror of https://github.com/github/gitignore synced 2024-11-27 06:04:22 +01:00
Commit Graph

11 Commits

Author SHA1 Message Date
Alastair Crabtree
a06382dcf8
Minor imporvements to terraform ignore file
* Fix Typo
* Add example to include overrides
2018-09-04 12:19:32 +01:00
Oussama BOUNAIM
70be586ce0 Update Terraform.gitignore
Ignore override files as they are usually used locally
to override resources or variables without changing the code
More info: https://www.terraform.io/docs/configuration/override.html
2018-08-19 10:31:44 +02:00
Tobi Fuhrimann
a58f1ab0cd Ignore Terraform crash log files 2018-05-26 14:36:41 +02:00
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