main.tf inside modules/sg
//vpc_id = var.vpc_id
//all inbound traffic
ingress {
from_port = "22" //opens tcp 22 port for ssh
to_port = "22"
protocol = "tcp"
cidr_blocks = [var.trusted_ip_ingress]
}
}
variable.tf inside modules/sg
variable "trusted_ip_ingress" {}
terragrunt.hcl
source = "./../../../modules//sg"
}
inputs = {
trusted_ip_ingress = ["0.0.0.0/0"]
}
Please find the error while doing terragrunt plan error message while doing terragrunt plan