Difference between revisions of "Error: Invalid block definition"
Jump to navigation
Jump to search
(Created page with " {{terraform plan}}") |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | │ Error: Invalid block definition | ||
+ | │ | ||
+ | │ on variables.tf line 27: | ||
+ | │ 27: variable "lb_listener" = <<EOF | ||
+ | │ | ||
+ | │ The equals sign "=" indicates an argument definition, and [[must not be used when defining a block]]. | ||
+ | ╷ | ||
+ | │ Error: Invalid block definition | ||
+ | │ | ||
+ | │ on [[variables.tf]] line 159: | ||
+ | │ 159: variable "environment" | ||
+ | │ 160: #"project_name" | ||
+ | │ | ||
+ | │ A [[block]] definition must have block content delimited by "{" and "}", starting on the same line as the block header. | ||
− | {{terraform plan}} | + | == Related == |
+ | * [[EOF]] | ||
+ | |||
+ | == See also == | ||
+ | * {{terraform plan}} | ||
+ | |||
+ | [[Category:Terraform]] |
Latest revision as of 17:46, 19 October 2021
│ Error: Invalid block definition │ │ on variables.tf line 27: │ 27: variable "lb_listener" = <<EOF │ │ The equals sign "=" indicates an argument definition, and must not be used when defining a block.
╷ │ Error: Invalid block definition │ │ on variables.tf line 159: │ 159: variable "environment" │ 160: #"project_name" │ │ A block definition must have block content delimited by "{" and "}", starting on the same line as the block header.
Related[edit]
See also[edit]
Advertising: