Skip to content

Commit

Permalink
fix: Revert partition conditional logic
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantbiggs committed Aug 9, 2024
1 parent 582eb7c commit 0a7216f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
locals {
# Only commercial regions are supported - China and GovCloud are not supported at this time
dualstack_oidc_issuer_url = local.partition == "aws" ? try(replace(replace(aws_eks_cluster.this[0].identity[0].oidc[0].issuer, "https://oidc.eks.", "https://oidc-eks."), ".amazonaws.com/", ".api.aws/"), null) : null
dualstack_oidc_issuer_url = try(replace(replace(aws_eks_cluster.this[0].identity[0].oidc[0].issuer, "https://oidc.eks.", "https://oidc-eks."), ".amazonaws.com/", ".api.aws/"), null)
}

################################################################################
Expand Down

0 comments on commit 0a7216f

Please sign in to comment.