Difference between revisions of "Error: Variables not allowed"
Jump to navigation
Jump to search
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
╷ | ╷ | ||
− | │ Error: Variables not allowed | + | │ Error: [[Variables]] not allowed |
│ | │ | ||
│ on <value for var.[[requires_compatibilities]]> line 1: | │ on <value for var.[[requires_compatibilities]]> line 1: | ||
Line 8: | Line 8: | ||
╵ | ╵ | ||
+ | Solution: make sure you variables values are defined inside quotes <code>your_var = "your value"</code> | ||
+ | == Related == | ||
+ | * <code>[[Error: No value for required variable]]</code> | ||
+ | * <code>[[var.]]</code> | ||
== See also == | == See also == | ||
* {{terraform plan}} | * {{terraform plan}} | ||
− | * {{Terraform}} | + | * {{Terraform variables}} |
[[Category:Terraform]] | [[Category:Terraform]] |
Latest revision as of 07:39, 16 July 2024
╷ │ Error: Variables not allowed │ │ on <value for var.requires_compatibilities> line 1: │ (source code not available) │ │ Variables may not be used here. ╵
Solution: make sure you variables values are defined inside quotes your_var = "your value"
Related[edit]
See also[edit]
terraform plan
: [-refresh-only | -lock=false
|-target
|-var-file
|will be created
|--help
], Terraform plan errors, Terraform plan examples, Terraform plan execution errors, (known after apply)- Terraform variables, types, env variables,
variables.tf
,.tfvars
,nullable
,validation
,terraform.tfvars
Advertising: