Difference between revisions of "Error: Variable declaration in .tfvars file"
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
== See also == | == See also == | ||
* {{terraform plan}} | * {{terraform plan}} | ||
+ | |||
+ | [[Category:Terraform]] |
Revision as of 12:49, 20 January 2022
│ Error: Variable declaration in .tfvars file │ │ on terraform.tfvars line 74: │ 74: variable "YOUR_VAR_NAME" {} │ │ A .tfvars file is used to assign values to variables that have already been declared in .tf files, not to declare new variables. To declare │ variable "YOUR_VAR_NAME", place this block in one of your .tf files, such as variables.tf. │ │ To set a value for this variable in terraform.tfvars, use the definition syntax instead: │ YOUR_VAR_NAME = <value> ╵
See also
Advertising: