Does any function for Pulumi YAML runtime to trans...
# general
d
Does any function for Pulumi YAML runtime to transfer AWS EKS endpoints HTTPS TLS to thumbprint and using in AWS IAM OIDC Provider resource properties ?
Copy code
resources:
  my-eks-cluster:
    type: aws:eks:Cluster
    properties:
      name: my-eks-cluster
      roleArn: ${aws-iam-role.eksRole.arn}
      version: "1.29"
      vpcConfig:
        # Ensure to replace these with your actual VPC subnet IDs
        subnetIds: [${eks-subnet0.id}, ${eks-subnet1.id}]
    options:
      dependsOn:
        - aws-iam-role
  iam-open-id-connect-provider:
    type: aws:iam/OpenIdConnectProvider
    properties:
      url: ${my-eks-cluster.identities[0].oidcs[0].issuer}
      clientIdLists: ["sts.amazonaws.com"]
      # This is a known thumbprint for Amazon EKS OIDC, but no idea how to transfer from HTTPS TLS
      thumbprintLists: ["???????"]
    options:
      dependsOn:
        - my-eks-cluster