Skip to content

Commit

Permalink
deploy: add vpc
Browse files Browse the repository at this point in the history
  • Loading branch information
digorgonzola committed Oct 15, 2023
1 parent f44045e commit 10c4db4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions deploy/network.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
resource "aws_vpc" "ecs_test" {
cidr_block = "10.1.0.0/16"
enable_dns_hostnames = true
enable_dns_support = true
tags = {
Name = "${local.prefix}-vpc"
}
}

resource "aws_internet_gateway" "ecs_test" {
vpc_id = aws_vpc.ecs_test.id
tags = {
Name = "${local.prefix}-igw"
}
}

0 comments on commit 10c4db4

Please sign in to comment.