Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #96 from wandera/feature/disable-subnet-tagging
Browse files Browse the repository at this point in the history
Add disable subnet tagging option
  • Loading branch information
coufalja authored Aug 19, 2022
2 parents 3edb730 + ab94903 commit 92d3c7e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions aws/cluster/cluster-spec.tf
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ locals {
serviceClusterIPRange = "100.64.0.0/13"
sshAccess = var.ssh-cidrs

DisableSubnetTags = var.subnet-tags # The property `DisableSubnetTags` has actually the opposite effect than its name says.
subnets = concat(flatten([
for idx in range(length(var.availability-zones)) : [
{
Expand Down
6 changes: 6 additions & 0 deletions aws/cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ variable "aws-region" {
}

# Networking & Security
variable "subnet-tags" {
description = "Enables automatic subnet tagging during cluster creation, if set to false make sure you are tagging the subnets appropriately."
type = bool
default = true
}

variable "vpc-networking" {
type = object(
{
Expand Down

0 comments on commit 92d3c7e

Please sign in to comment.