Skip to content

Commit

Permalink
Switch from data to var in locals for cluster name
Browse files Browse the repository at this point in the history
  • Loading branch information
123oleks123 committed May 14, 2024
1 parent 9b7601e commit 341f9e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/kubernetes-addons/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ locals {
aws_eks_cluster_endpoint = local.eks_cluster_endpoint
aws_partition_id = data.aws_partition.current.partition
aws_region_name = data.aws_region.current.name
eks_cluster_id = data.aws_eks_cluster.eks_cluster.id
eks_cluster_id = var.eks_cluster_id
eks_oidc_issuer_url = local.eks_oidc_issuer_url
eks_oidc_provider_arn = "arn:${data.aws_partition.current.partition}:iam::${data.aws_caller_identity.current.account_id}:oidc-provider/${local.eks_oidc_issuer_url}"
tags = var.tags
Expand Down

0 comments on commit 341f9e0

Please sign in to comment.