Skip to content

Commit

Permalink
remove classiclink params from module and examples (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
transient1 authored May 30, 2023
1 parent 9045dff commit fa22c5b
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 17 deletions.
4 changes: 0 additions & 4 deletions modules/single-cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ variable "vpc_enable_dns_hostnames" {
default = "true"
}

variable "vpc_enable_classiclink" {
default = "false"
}

## Tagging Settings
variable "extra_tags_global" {
type = map(string)
Expand Down
1 change: 0 additions & 1 deletion modules/single-cluster/vpc.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ resource "aws_vpc" "kube_vpc" {
instance_tenancy = var.vpc_instance_tenancy
enable_dns_support = var.vpc_enable_dns_support
enable_dns_hostnames = var.vpc_enable_dns_hostnames
enable_classiclink = var.vpc_enable_classiclink
tags = merge(
local.tags,
{
Expand Down
2 changes: 0 additions & 2 deletions tests/fixtures/terraform.1az.tfvars.example.output
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,6 @@ Terraform will perform the following actions:
default_route_table_id: <computed>
default_security_group_id: <computed>
dhcp_options_id: <computed>
enable_classiclink: "false"
enable_classiclink_dns_support: <computed>
enable_dns_hostnames: "true"
enable_dns_support: "true"
instance_tenancy: "default"
Expand Down
2 changes: 0 additions & 2 deletions tests/fixtures/terraform.nat-gw.tfvars.example.output
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,6 @@ Terraform will perform the following actions:
default_route_table_id: <computed>
default_security_group_id: <computed>
dhcp_options_id: <computed>
enable_classiclink: "false"
enable_classiclink_dns_support: <computed>
enable_dns_hostnames: "true"
enable_dns_support: "true"
instance_tenancy: "default"
Expand Down
2 changes: 0 additions & 2 deletions tests/fixtures/terraform.s3ep.tfvars.example.output
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,6 @@ Terraform will perform the following actions:
default_route_table_id: <computed>
default_security_group_id: <computed>
dhcp_options_id: <computed>
enable_classiclink: "false"
enable_classiclink_dns_support: <computed>
enable_dns_hostnames: "true"
enable_dns_support: "true"
instance_tenancy: "default"
Expand Down
6 changes: 1 addition & 5 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ variable "vpc_enable_dns_hostnames" {
default = "true"
}

variable "vpc_enable_classiclink" {
default = "false"
}

variable "admin_subnet_parent_cidr" {
description = "parent CIDR for the administrative subnets"
default = ".0.0/19"
Expand Down Expand Up @@ -149,7 +145,7 @@ variable "s3_vpc_endpoint_policy" {
default = <<POLICY
{
"Statement": [
{
{
"Sid": "FullAccess",
"Action": "*",
"Effect": "Allow",
Expand Down
1 change: 0 additions & 1 deletion vpc.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ resource "aws_vpc" "default" {
instance_tenancy = var.vpc_instance_tenancy
enable_dns_support = var.vpc_enable_dns_support
enable_dns_hostnames = var.vpc_enable_dns_hostnames
enable_classiclink = var.vpc_enable_classiclink
tags = merge(
var.global_tags,
{
Expand Down

0 comments on commit fa22c5b

Please sign in to comment.