mirror of
https://github.com/terraform-aws-modules/terraform-aws-eks.git
synced 2025-09-09 19:32:58 +08:00
refactor: Refactoring to match the rest of terraform-aws-modules (#1583)
This commit is contained in:
@@ -8,10 +8,11 @@
|
||||
# https://github.com/terraform-providers/terraform-provider-aws/issues/10104
|
||||
|
||||
resource "aws_iam_openid_connect_provider" "oidc_provider" {
|
||||
count = var.enable_irsa && var.create_eks ? 1 : 0
|
||||
count = var.enable_irsa && var.create_eks ? 1 : 0
|
||||
|
||||
client_id_list = local.client_id_list
|
||||
thumbprint_list = [var.eks_oidc_root_ca_thumbprint]
|
||||
url = flatten(concat(aws_eks_cluster.this[*].identity[*].oidc.0.issuer, [""]))[0]
|
||||
url = local.cluster_oidc_issuer_url
|
||||
|
||||
tags = merge(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user