resource "aws_security_group" "security-group" { name = "${var.short_name}" description = "Allow all inbound traffic" vpc_id = "${local.vpc_id}" egress { from_port = 0 to_port = 0 protocol = "-1" cidr_blocks = ["0.0.0.0/0"] } tags = local.common_tags }