Skip to content

Commit

Permalink
Merge pull request #52 from voor/add-kubernetes-tags
Browse files Browse the repository at this point in the history
Adds missing tags for PKS clusters.
  • Loading branch information
JT Archie authored Aug 7, 2020
2 parents c7052bf + ef6d496 commit 882f2c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aws/subnets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
)
}

Expand Down Expand Up @@ -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" }
)
}

0 comments on commit 882f2c4

Please sign in to comment.