Help with variables terraform

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

The error means the module “…/…/source/modulos/alb" is not expecting a variable alb_security_groups
You need to make sure the block for alb_security_groups variable is defined in the module as well.