90DaysOfDevOps/Tools/8.IaC/Tarraform/awsResource/securitygroup.tf
2022-01-09 00:31:33 +05:30

9 lines
217 B
HCL

# Allow the instance to receive requests on port 8080.
resource "aws_security_group" "instance" {
ingress {
from_port = 8080
to_port = 8080
protocol = "tcp"
cidr_blocks = ["0.0.0.0/0"]
}
}