The Terraform template1, 2 is currently set to ignore all .tfvars files.
# Exclude all .tfvars files, which are likely to contain sensitive data, such as
# password, private keys, and other secrets. These should not be part of version
# control as they are data points which are potentially sensitive and subject
# to change depending on the environment.
*.tfvars
*.tfvars.json
The Terraform template1, 2 is currently set to ignore all
.tfvars
files.Examples provided by Terraform Best Practices show that it is recommended to,
terraform.tfvars
file to provide non-sensitive configuration values for an environment.This ensures modularity and scalability.
Allow
terraform.tfvars
files to be included in a repo.