Commit Graph

24 Commits

Author SHA1 Message Date
Gianluca Recchia
3249072f3b
Ignore lock info files in terraform .gitignore
This is recommended by the official Style Guide here:
https://developer.hashicorp.com/terraform/language/style#gitignore.
2024-04-22 11:27:20 +02:00
Brian Douglas
c0ca84849c
Merge pull request #3965 from imomaliev/patch-1
Remove empty line comments in Terraform.gitignore
2022-02-10 20:12:42 -08:00
Deepak
a4a6c5c9c2
feat(terraform): adds tfvars.json to gitignore 2022-02-10 23:11:32 +01:00
Sardorbek Imomaliev
bddea2c9bd
Remove empty line comments in Terraform.gitignore 2022-01-31 23:33:23 +07:00
Troy Lindsay
588c2aa4aa
Merge branch 'main' into packer-pkrvars.hcl 2022-01-30 10:38:04 -06:00
Brian Douglas
a221c22479
Merge pull request #3784 from msharma24/fix/add-wild-card-tf-crash-log
Added wildcard to crash.log because the newer versions of Terraform c…
2021-12-10 16:44:19 -08:00
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
GrpeApple
1a84870ad7
Remove trailing whitespace 2021-07-11 13:03:23 +08:00
Troy Lindsay
f75292bf4d
Fix typos
s/sentitive/sensitive/
2020-08-30 19:21:51 -05: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