diff --git a/main.tf b/main.tf index ea72bd276..a23024c99 100644 --- a/main.tf +++ b/main.tf @@ -374,9 +374,10 @@ resource "aws_vpn_gateway_route_propagation" "private" { resource "aws_default_vpc" "this" { count = "${var.manage_default_vpc ? 1 : 0}" - enable_dns_support = "${var.default_vpc_enable_dns_support}" - enable_dns_hostnames = "${var.default_vpc_enable_dns_hostnames}" - enable_classiclink = "${var.default_vpc_enable_classiclink}" + enable_dns_support = "${var.default_vpc_enable_dns_support}" + enable_dns_hostnames = "${var.default_vpc_enable_dns_hostnames}" + enable_classiclink = "${var.default_vpc_enable_classiclink}" + enable_classiclink_dns_support = "${var.default_vpc_enable_classiclink_dns_support}" tags = "${merge(var.tags, var.default_vpc_tags, map("Name", format("%s", var.default_vpc_name)))}" } diff --git a/variables.tf b/variables.tf index 89e376c7c..9cfdcb6e3 100644 --- a/variables.tf +++ b/variables.tf @@ -235,6 +235,11 @@ variable "default_vpc_enable_classiclink" { default = false } +variable "default_vpc_enable_classiclink_dns_support" { + description = "Should be true to enable ClassicLink DNS in the Default VPC" + default = false +} + variable "default_vpc_tags" { description = "Additional tags for the Default VPC" default = {}