diff --git a/main.tf b/main.tf index a912134..dfb8ab8 100644 --- a/main.tf +++ b/main.tf @@ -12,7 +12,7 @@ resource "aws_vpc" "sgtm_vpc" { resource "aws_subnet" "sptm_public_subnet" { vpc_id = aws_vpc.sgtm_vpc.id - cidr_block = "10.123.1.0/24" + cidr_block = var.public_cidr map_public_ip_on_launch = true availability_zone = "us-east-1a" @@ -57,7 +57,7 @@ resource "aws_security_group" "sgtm_sg" { from_port = 0 to_port = 0 protocol = "-1" - cidr_blocks = ["172.59.221.135/32"] + cidr_blocks = [var.allowed_ingress_cidr] } egress {