This message was deleted.
# kubernetes
s
This message was deleted.
c
A bit hacky, but I'm doing this to get the oidc-provider arn
Copy code
const eksClusterUrl = eksCluster.eksCluster.identities[0].oidcs[0].issuer
const oidcIssuerId = eksClusterUrl.apply(url => url.substr(url.lastIndexOf('/') + 1))
const oidcArn = interpolate`arn:aws:iam::<accountId>:oidc-provider/oidc.eks.us-east-1.amazonaws.com/id/${oidcIssuerId}`
b
@colossal-australia-65039 indeed, thatโ€™s what I ended up with as well, except I also hardcoded the account ID. ๐Ÿ™‚
c
i did too, that was a redaction placeholder haha
b
๐Ÿ™‚
Security is key.
๐Ÿ”’ 1