Skip to content

Commit

Permalink
move base_tags out of main.tf into locals.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jan 23, 2025
1 parent 6d8f348 commit 71bc6ec
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions examples/full-cluster-tf-upgrade/1.31/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ locals {
subnets = [for k, v in data.aws_subnet.subnets : v.id if length(regexall("us-east-1e", v.availability_zone)) == 0]
s3_base_arn = format("arn:%v:%v:::%%v", data.aws_arn.current.partition, "s3")

base_tags = {
"eks-cluster-name" = var.cluster_name
"boc:tf_module_version" = local._module_version
"boc:created_by" = "terraform"
}

# https://docs.aws.amazon.com/eks/latest/userguide/cluster-autoscaler.html
autoscale_tags = {
format("k8s.io/cluster-autoscaler/%v", var.cluster_name) = "owned"
Expand Down

0 comments on commit 71bc6ec

Please sign in to comment.