Skip to content

Commit

Permalink
fix: Include all certificate fingerprints in the OIDC provider thumbp…
Browse files Browse the repository at this point in the history
…rint list (#2307)

Co-authored-by: gdjensen <gjensen@tradewelltech.co>
  • Loading branch information
ThetaSinner and gdjensen authored Nov 22, 2022
1 parent fe85170 commit 7436178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 7436178

Please sign in to comment.