From e815178c6163661b5020ef113607bac5dae71867 Mon Sep 17 00:00:00 2001 From: Zachary Blasczyk Date: Tue, 23 Jul 2024 10:58:40 -0500 Subject: [PATCH 1/2] fix: YACE scoping --- main.tf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.tf b/main.tf index e45ac467..d594c12d 100644 --- a/main.tf +++ b/main.tf @@ -335,6 +335,9 @@ module "wandb" { install = true regions = [data.aws_region.current.name] serviceAccount = { annotations = { "eks.amazonaws.com/role-arn" = module.iam_role[0].role_arn } } + resourceTags = { + "Namespace" = var.namespace + } } : { install = false regions = [] From 0f5ac5dcb9ec3f37ba4dcadaa708e4b5c15a7c31 Mon Sep 17 00:00:00 2001 From: Zachary Blasczyk Date: Tue, 23 Jul 2024 11:04:04 -0500 Subject: [PATCH 2/2] fix to follow https://github.com/nerdswords/yet-another-cloudwatch-exporter/blob/master/docs/configuration.md#discovery_job_config --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index d594c12d..6ecb7d05 100644 --- a/main.tf +++ b/main.tf @@ -335,7 +335,7 @@ module "wandb" { install = true regions = [data.aws_region.current.name] serviceAccount = { annotations = { "eks.amazonaws.com/role-arn" = module.iam_role[0].role_arn } } - resourceTags = { + searchTags = { "Namespace" = var.namespace } } : {