Skip to content

Commit 6d4dbfd

Browse files
committed
DEVOPS-7638: DRP improve vpc
1 parent e59212d commit 6d4dbfd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

main.tf

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ resource "aws_vpc" "this" {
3333
instance_tenancy = var.instance_tenancy
3434
enable_dns_hostnames = var.enable_dns_hostnames
3535
enable_dns_support = var.enable_dns_support
36-
enable_classiclink = null # https://github.com/hashicorp/terraform/issues/31730
37-
enable_classiclink_dns_support = null # https://github.com/hashicorp/terraform/issues/31730
3836

3937
tags = merge(
4038
{ "Name" = var.name },
@@ -1112,7 +1110,7 @@ locals {
11121110
resource "aws_eip" "nat" {
11131111
count = local.create_vpc && var.enable_nat_gateway && false == var.reuse_nat_ips ? local.nat_gateway_count : 0
11141112

1115-
vpc = true
1113+
domain = "vpc"
11161114

11171115
tags = merge(
11181116
{
@@ -1388,7 +1386,6 @@ resource "aws_default_vpc" "this" {
13881386

13891387
enable_dns_support = var.default_vpc_enable_dns_support
13901388
enable_dns_hostnames = var.default_vpc_enable_dns_hostnames
1391-
enable_classiclink = null # https://github.com/hashicorp/terraform/issues/31730
13921389

13931390
tags = merge(
13941391
{ "Name" = coalesce(var.default_vpc_name, "default") },

0 commit comments

Comments
 (0)