I I would like to do
locals {
URL = “https://github.alm.europe.cloudcenter.corp/cib-cross-services/aws-automation-tf-modules/archive/v1.0.zip//aws-automation-tf-modules-1.0/infra/terraform/source/modulos/redes”
}
module “redes” {
source = local.URL
}
terraform init
ERROR MESSAGE;:
Error: Variables not allowed
│
│ on main.tf line 56, in module “redes”:
│ 56: source = local.URL
│
│ Variables may not be used here.
thanks in advance
Hi @jose.pinto,
This error message is correct. You need to specify the location of the module directly in the source
argument.
yes I would like to use a variable instead of the value