diff options
author | 2021-10-18 07:44:26 +0000 | |
---|---|---|
committer | 2021-10-18 07:44:26 +0000 | |
commit | a9c90fa0d5604c426323e96853034d32ebb6d5cd (patch) | |
tree | 5ec52b07a80993b2fcf9fa78895374ec7f9f13c2 /fdio.infra.terraform/3n_aws_c5n/deploy/main.tf | |
parent | 240170fea22817e969141f8868b744fdafe54de6 (diff) |
fix(Terraform): 3n-aws typo
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I30af460b2c735f20ad832fb4563e26500b0efd9d
Diffstat (limited to 'fdio.infra.terraform/3n_aws_c5n/deploy/main.tf')
-rw-r--r-- | fdio.infra.terraform/3n_aws_c5n/deploy/main.tf | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/fdio.infra.terraform/3n_aws_c5n/deploy/main.tf b/fdio.infra.terraform/3n_aws_c5n/deploy/main.tf index 05c7e32862..917dd97232 100644 --- a/fdio.infra.terraform/3n_aws_c5n/deploy/main.tf +++ b/fdio.infra.terraform/3n_aws_c5n/deploy/main.tf @@ -128,17 +128,6 @@ resource "aws_subnet" "c" { } resource "aws_subnet" "d" { - vpc_id = aws_vpc.CSITVPC.id - cidr_block = var.vpc_cidr_d - availability_zone = var.avail_zone - depends_on = [aws_vpc.CSITVPC, aws_vpc_ipv4_cidr_block_association.d] - - tags = { - "Environment" = var.environment_name - } -} - -resource "aws_subnet" "d" { availability_zone = var.avail_zone assign_ipv6_address_on_creation = false cidr_block = var.vpc_cidr_d @@ -154,6 +143,17 @@ resource "aws_subnet" "d" { } } +resource "aws_internet_gateway" "CSITGW" { + depends_on = [ + aws_vpc.CSITVPC + ] + vpc_id = aws_vpc.CSITVPC.id + + tags = { + "Environment" = var.environment_name + } +} + # SSH keypair # Temporary key for provisioning only resource "tls_private_key" "CSITTLS" { |