i can not understand where is the issue:
main.tf
module “ALB” {
source = “…/…/source/modulos/alb”
source = “…/…/source/modulos/alb”
nomeALB = “nomeALB”
alb_security_groups = “{module.redes.aws_security_group__ALB}"
vpc_ldap_id_psubnets_Alb = "{module.redes.aws_vpc_vpc_cross_id}”
}
################
Variables.tf
####################
(…)
variable “nomeALB” {
type = string
default = “173.25.0.0/16”
}
variable “alb_security_groups” {
type = string
default = “”
}
#########################
Error:
########
Error: Unsupported argument
on main.tf line 408, in module “ALB”:
408: vpc_ldap_id_psubnets_Alb = “${module.redes.aws_vpc_vpc_cross_id}”
An argument named “vpc_ldap_id_psubnets_Alb” is not expected here.
how can be possible if no issues with alb_security_groups var. and bof are declared in variables.tf ?
I never see an issue like this.
Can someone help me, please?
thanks in advance