Skip to content

Commit

Permalink
Merge pull request #3 from jampp/DEVOPS-7638-vpc-remove-deprecated-sy…
Browse files Browse the repository at this point in the history
…ntax

DEVOPS-7638: vpc remove deprecated syntax
  • Loading branch information
jorge-arribas authored Nov 12, 2024
2 parents e59212d 44347d0 commit 2b47b41
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 33,6 @@ resource "aws_vpc" "this" {
instance_tenancy = var.instance_tenancy
enable_dns_hostnames = var.enable_dns_hostnames
enable_dns_support = var.enable_dns_support
enable_classiclink = null # https://github.com/hashicorp/terraform/issues/31730
enable_classiclink_dns_support = null # https://github.com/hashicorp/terraform/issues/31730

tags = merge(
{ "Name" = var.name },
Expand Down Expand Up @@ -1112,7 1110,7 @@ locals {
resource "aws_eip" "nat" {
count = local.create_vpc && var.enable_nat_gateway && false == var.reuse_nat_ips ? local.nat_gateway_count : 0

vpc = true
domain = "vpc"

tags = merge(
{
Expand Down Expand Up @@ -1388,7 1386,6 @@ resource "aws_default_vpc" "this" {

enable_dns_support = var.default_vpc_enable_dns_support
enable_dns_hostnames = var.default_vpc_enable_dns_hostnames
enable_classiclink = null # https://github.com/hashicorp/terraform/issues/31730

tags = merge(
{ "Name" = coalesce(var.default_vpc_name, "default") },
Expand Down

0 comments on commit 2b47b41

Please sign in to comment.