MJ
resource "aws_security_group" "TEST_security_group" {
name_prefix = "TEST-"
vpc_id = "${aws_vpc.env_vpc.id}"
ingress {
from_port = 80
to_port = 80
protocol = "TCP"
cidr_blocks = ["0.0.0.0/0"]
}
ingress {
from_port = 443
to_port = 443
protocol = "TCP"
cidr_blocks = ["${aws_security_group.ALB_security_group.id}"]
}
egress {
from_port = 0
to_port = 0
protocol = "-1"
cidr_blocks = ["0.0.0.0/0"]
}
}
Получаю ошибку: "ingress.1.cidr_blocks.0" must contain a valid CIDR, got error parsing: invalid CIDR address: sg-012a6d7a8ef166fba". Как исправить, понять не могу