Files
90DaysOfDevOps/2022/Days/IaC/Automated-test-with-Terratest/examples/securitygroup.tf

9 lines
217 B
Terraform
Raw Normal View History

2022-12-23 16:10:27 +05:30
# 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"]
}
}