diff --git a/main.tf b/main.tf index a17d4a1499..3ed4edaacf 100644 --- a/main.tf +++ b/main.tf @@ -213,7 +213,7 @@ resource "aws_iam_openid_connect_provider" "oidc_provider" { count = local.create && var.enable_irsa ? 1 : 0 client_id_list = distinct(compact(concat(["sts.${local.dns_suffix}"], var.openid_connect_audiences))) - thumbprint_list = concat([data.tls_certificate.this[0].certificates[0].sha1_fingerprint], var.custom_oidc_thumbprints) + thumbprint_list = concat(data.tls_certificate.this[0].certificates[*].sha1_fingerprint, var.custom_oidc_thumbprints) url = aws_eks_cluster.this[0].identity[0].oidc[0].issuer tags = merge(