Skip to content

Commit

Permalink
INFRA-350 switch to correct apply alb tags to eks cluster resources
Browse files Browse the repository at this point in the history
  • Loading branch information
j7m4 committed Jan 31, 2025
1 parent 7af17bb commit ce067d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/public-dns-external/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ variable "system_reserved_pid" {
}

variable "aws_loadbalancer_controller_tags" {
description = "(Optional) A map of AWS tags to apply to all resources managed by the load balancer controller"
description = "(Optional) A map of AWS tags to apply to all resources managed by load balancer and cluster"
type = map(string)
default = {}
}
5 changes: 2 additions & 3 deletions modules/app_eks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ module "eks" {
metadata_http_put_response_hop_limit = 2
metadata_http_tokens = "required",
version = var.cluster_version,
tags = local.defaultTags,
}

node_groups = {
Expand All @@ -78,12 +77,12 @@ module "eks" {
}
}

tags = {
tags = merge(jsondecode(local.defaultTags), {
GithubRepo = "wandb"
GithubOrg = "terraform-aws-wandb"
TerraformNamespace = var.namespace
TerraformModule = "terraform-aws-wandb/module/app_eks"
}
})
}

resource "kubernetes_annotations" "gp2" {
Expand Down

0 comments on commit ce067d1

Please sign in to comment.