Currently, the terraform package expects the region to be defined directly (using "constant_value") and variables are not supported. However, specifying the region with a variable is a common use case and must be supported, e.g.:
variable "region" {
type = string
default = "eu-west-1"
}
provider "aws" {
region = var.region
}
Currently, the
terraform
package expects the region to be defined directly (using "constant_value") and variables are not supported. However, specifying the region with a variable is a common use case and must be supported, e.g.: