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

15 Commits

Author SHA1 Message Date
GrpeApple
1a84870ad7
Remove trailing whitespace 2021-07-11 13:03:23 +08:00
Kevin Cochran
36ce3a894d
Exclude *.tfvars files (#3452)
Co-authored-by: Kevin Cochran <kcochran@hashicorp.com>
2020-07-06 21:36:25 -03:00
Loo Zheng Yuan
8300d88565
Ignore Terraform CLI configuration files (#3359) 2020-04-04 13:32:17 -03:00
Viet Nguyen
f1f53976fa docs: update Terraform.gitignore (#2998) 2019-03-14 08:56:47 -03:00
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