From ef6d4965a19c489bfe3dbbb0a9c5faa167f70475 Mon Sep 17 00:00:00 2001 From: Robert Van Voorhees Date: Sat, 18 Apr 2020 10:37:31 -0400 Subject: [PATCH] Adds missing tags for PKS clusters. --- aws/subnets.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aws/subnets.tf b/aws/subnets.tf index 47f3467..78f55bb 100644 --- a/aws/subnets.tf +++ b/aws/subnets.tf @@ -8,6 +8,7 @@ resource "aws_subnet" "public-subnet" { tags = merge( var.tags, { Name = "${var.environment_name}-public-subnet-${count.index}" }, + { "kubernetes.io/role/elb" = "1"} ) } @@ -60,5 +61,6 @@ resource "aws_subnet" "pks-subnet" { tags = merge( var.tags, { Name = "${var.environment_name}-pks-subnet-${count.index}" }, + { "kubernetes.io/role/internal-elb" = "1" } ) }