19 lines
371 B
HCL
19 lines
371 B
HCL
resource "aws_security_group" "allow_all" {
|
|
name = "allow_all"
|
|
description = "Allow all inbound traffic"
|
|
vpc_id = "${var.VpcId}"
|
|
|
|
ingress {
|
|
from_port = 0
|
|
to_port = 0
|
|
protocol = "-1"
|
|
cidr_blocks = ["0.0.0.0/0"]
|
|
}
|
|
|
|
egress {
|
|
from_port = 0
|
|
to_port = 0
|
|
protocol = "-1"
|
|
cidr_blocks = ["0.0.0.0/0"]
|
|
}
|
|
} |