mirror of
https://github.com/vale981/gitignore
synced 2025-03-04 17:31:42 -05:00

`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.
6 lines
88 B
Text
6 lines
88 B
Text
# Local .terraform directories
|
|
**/.terraform/*
|
|
|
|
# .tfstate files
|
|
*.tfstate
|
|
*.tfstate.*
|