Reputation: 13
*
Error: Invalid block definition
on variable.tf line 1:
1: variable "counte"
2: {
A block definition must have block content delimited by "{" and "}", starting
on the same line as the block header.
i got this error while i'm enter terraform init command. my variable.tf is adding below, anybody know to solve this, help me
Upvotes: 1
Views: 3109
Reputation: 238081
{
must be in the same line as variable "counte"
, for example
variable "counte" {
default = 1
}
Upvotes: 1