diff options
Diffstat (limited to 'terraform/aws_using_ami/backend/main.tf')
-rw-r--r-- | terraform/aws_using_ami/backend/main.tf | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/terraform/aws_using_ami/backend/main.tf b/terraform/aws_using_ami/backend/main.tf index 7025cad..d93317d 100644 --- a/terraform/aws_using_ami/backend/main.tf +++ b/terraform/aws_using_ami/backend/main.tf @@ -96,28 +96,28 @@ resource "aws_security_group" "public_webserver" { vpc_id = "${var.aws_vpc_id}" ingress { - from_port = 0 + from_port = 80 to_port = 80 protocol = "tcp" cidr_blocks = ["0.0.0.0/0"] } ingress { - from_port = 0 + from_port = 443 to_port = 443 protocol = "tcp" cidr_blocks = ["0.0.0.0/0"] } ingress { - from_port = 0 + from_port = 8080 to_port = 8080 protocol = "tcp" cidr_blocks = ["0.0.0.0/0"] } ingress { - from_port = 0 + from_port = 8443 to_port = 8443 protocol = "tcp" cidr_blocks = ["0.0.0.0/0"] @@ -130,7 +130,7 @@ resource "aws_security_group" "ssh_access_from_mini_environment_admin" { vpc_id = "${var.aws_vpc_id}" ingress { - from_port = 0 + from_port = 22 to_port = 22 protocol = "tcp" cidr_blocks = [ |