polite-napkin-90098
05/03/2022, 4:35 PMaws eks describe-cluster
command and then use that to create an oidc Provider in AWS with the right url.
So given https://www.pulumi.com/registry/packages/aws/api-docs/iam/openidconnectprovider/ I assumed I would be able to get the oidc.issuer url from the stack object created by the eks.cluster call and pass that to the new aws.iam.OpenIdConnectProvider() and do what the aws docs suggest from Pulumi.
However
cluster.core.oidcProvider.url and cluster.core.oidcProvider.arn stay empty even when the cluster has been created.
Perhaps I need to add https://www.pulumi.com/registry/packages/aws/api-docs/eks/identityproviderconfig/ but that also requires the url which the aws eks describe-cluster
provides, and then I'm back to square one trying to work out how to replicate that in pulumi.billowy-army-68599
05/03/2022, 4:54 PMcreateOidcProvider
? https://github.com/jaxxstorm/pulumi-examples/blob/main/typescript/aws/eks-platform/eks/index.ts#L18polite-napkin-90098
05/03/2022, 4:55 PMbillowy-army-68599
05/03/2022, 4:55 PM