Hello,
I’m sure this code with variable as the example, I’m getting an error.
app “my-app” {
build {
use “docker” {}
}
deploy {
use “docker” {
service_port = var.port
}
}
}
variable “port” {
type = number
default = 8080
}
Erro:
Unsupported block type; Blocks of type “variable” are not expected here.
Cannot read variable parameter.
Can someone please help?
Version waypoint
CLI: v0.4.0 (3b3dd831)
Server: v0.5.1