Commit Graph

16 Commits

Author SHA1 Message Date
Mukesh Sharma
bb1c0fa139 Ignore crash.log and crash.*.log files generated by Terraform debugging 2021-07-13 22:41:47 +12:00
Mukesh Sharma
e2a1bb8ee2 Added wildcard to crash.log because the newer versions of Terraform creates crash log with random numbers in between example crash.105189318.log 2021-07-13 22:32:32 +12: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