diff --git a/infra/route53.tf b/infra/route53.tf index 5572649..e602387 100644 --- a/infra/route53.tf +++ b/infra/route53.tf @@ -1,3 +1,6 @@ +############################# +# project-athens.xyz DNS ZONE +############################# # This entry is just for the sample service that is just plain nginx # No TLS will be placed on this just yet as we need to make sure this diff --git a/infra/security-groups.tf b/infra/security-groups.tf index 8738a7a..6f88905 100644 --- a/infra/security-groups.tf +++ b/infra/security-groups.tf @@ -7,14 +7,14 @@ resource "aws_security_group" "ecs_web_ingress" { ingress { cidr_blocks = ["0.0.0.0/0"] from_port = 443 - to_port = 443 - protocol = "tcp" + to_port = 443 + protocol = "tcp" } ingress { cidr_blocks = ["0.0.0.0/0"] from_port = 80 - to_port = 80 - protocol = "tcp" + to_port = 80 + protocol = "tcp" } } @@ -23,20 +23,20 @@ resource "aws_security_group" "base_ecs" { egress { cidr_blocks = ["0.0.0.0/0"] from_port = 80 - to_port = 80 - protocol = "tcp" + to_port = 80 + protocol = "tcp" } egress { cidr_blocks = ["0.0.0.0/0"] from_port = 443 - to_port = 443 - protocol = "tcp" + to_port = 443 + protocol = "tcp" } egress { cidr_blocks = ["0.0.0.0/0"] from_port = 2049 - to_port = 2049 - protocol = "tcp" + to_port = 2049 + protocol = "tcp" } } diff --git a/infra/subnet.tf b/infra/subnet.tf index 328562f..7576df2 100644 --- a/infra/subnet.tf +++ b/infra/subnet.tf @@ -1,6 +1,5 @@ # This script represents the subnet structure for Crete(primary subnet) -# Crete will serve as the private subnet with internal services resource "aws_subnet" "crete_subnet" { vpc_id = aws_vpc.athens_vpc.id # 10.0.1.0/24 @@ -8,7 +7,7 @@ resource "aws_subnet" "crete_subnet" { availability_zone = var.athens_availability_zone tags = { - Name = "Crete Subnet - Internal" + Name = "Crete Subnet" Description = "Main subnet for EC2 and Alpha-LB" } } @@ -18,7 +17,7 @@ resource "aws_subnet" "delphi" { cidr_block = "10.0.2.0/24" availability_zone = "us-west-1c" tags = { - Name = "Delphi Subnet - Internal" + Name = "Delphi Subnet" Description = "Secondary subnet for the Alpha-LB mostly" } }