Skip to content

Commit fa22c5b

Browse files
authored
remove classiclink params from module and examples (#75)
1 parent 9045dff commit fa22c5b

7 files changed

+1
-17
lines changed

modules/single-cluster/variables.tf

-4
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,6 @@ variable "vpc_enable_dns_hostnames" {
4747
default = "true"
4848
}
4949

50-
variable "vpc_enable_classiclink" {
51-
default = "false"
52-
}
53-
5450
## Tagging Settings
5551
variable "extra_tags_global" {
5652
type = map(string)

modules/single-cluster/vpc.tf

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ resource "aws_vpc" "kube_vpc" {
44
instance_tenancy = var.vpc_instance_tenancy
55
enable_dns_support = var.vpc_enable_dns_support
66
enable_dns_hostnames = var.vpc_enable_dns_hostnames
7-
enable_classiclink = var.vpc_enable_classiclink
87
tags = merge(
98
local.tags,
109
{

tests/fixtures/terraform.1az.tfvars.example.output

-2
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,6 @@ Terraform will perform the following actions:
195195
default_route_table_id: <computed>
196196
default_security_group_id: <computed>
197197
dhcp_options_id: <computed>
198-
enable_classiclink: "false"
199-
enable_classiclink_dns_support: <computed>
200198
enable_dns_hostnames: "true"
201199
enable_dns_support: "true"
202200
instance_tenancy: "default"

tests/fixtures/terraform.nat-gw.tfvars.example.output

-2
Original file line numberDiff line numberDiff line change
@@ -477,8 +477,6 @@ Terraform will perform the following actions:
477477
default_route_table_id: <computed>
478478
default_security_group_id: <computed>
479479
dhcp_options_id: <computed>
480-
enable_classiclink: "false"
481-
enable_classiclink_dns_support: <computed>
482480
enable_dns_hostnames: "true"
483481
enable_dns_support: "true"
484482
instance_tenancy: "default"

tests/fixtures/terraform.s3ep.tfvars.example.output

-2
Original file line numberDiff line numberDiff line change
@@ -477,8 +477,6 @@ Terraform will perform the following actions:
477477
default_route_table_id: <computed>
478478
default_security_group_id: <computed>
479479
dhcp_options_id: <computed>
480-
enable_classiclink: "false"
481-
enable_classiclink_dns_support: <computed>
482480
enable_dns_hostnames: "true"
483481
enable_dns_support: "true"
484482
instance_tenancy: "default"

variables.tf

+1-5
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ variable "vpc_enable_dns_hostnames" {
4545
default = "true"
4646
}
4747

48-
variable "vpc_enable_classiclink" {
49-
default = "false"
50-
}
51-
5248
variable "admin_subnet_parent_cidr" {
5349
description = "parent CIDR for the administrative subnets"
5450
default = ".0.0/19"
@@ -149,7 +145,7 @@ variable "s3_vpc_endpoint_policy" {
149145
default = <<POLICY
150146
{
151147
"Statement": [
152-
{
148+
{
153149
"Sid": "FullAccess",
154150
"Action": "*",
155151
"Effect": "Allow",

vpc.tf

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ resource "aws_vpc" "default" {
1717
instance_tenancy = var.vpc_instance_tenancy
1818
enable_dns_support = var.vpc_enable_dns_support
1919
enable_dns_hostnames = var.vpc_enable_dns_hostnames
20-
enable_classiclink = var.vpc_enable_classiclink
2120
tags = merge(
2221
var.global_tags,
2322
{

0 commit comments

Comments
 (0)