Skip to content

Commit ffe483d

Browse files
committed
fix: Remove kubernetes_cluster_issuer_url variable and determine from cluster module
1 parent 5f9e5b2 commit ffe483d

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ module "wandb" {
328328
internalJWTMap = [
329329
{
330330
"subject" = "system:serviceaccount:default:${local.weave_trace_sa_name}",
331-
"issuer" = var.kubernetes_cluster_oidc_issuer_url
331+
"issuer" = module.eks.cluster.oidc_issuer_url
332332
}
333333
]
334334
}

variables.tf

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -522,13 +522,3 @@ variable "clickhouse_endpoint_service_id" {
522522
description = "The service ID of the VPC endpoint service for Clickhouse"
523523
default = ""
524524
}
525-
526-
##########################################
527-
# Internal Service #
528-
##########################################
529-
530-
variable "kubernetes_cluster_oidc_issuer_url" {
531-
type = string
532-
description = "OIDC issuer URL for the Kubernetes cluster. Can be determined using `kubectl get --raw /.well-known/openid-configuration`"
533-
default = ""
534-
}

0 commit comments

Comments
 (0)