Skip to content
Discussion options

You must be logged in to vote

Hi, good afternoon!
I have found your question trying to find a solution for the same problem. I think that I have an approach that could work for you, the key is the usage of CfnIdentityProviderConfig class. It provides a way to configure the association between the oidc provider and the eks cluster.
I'm working with Python CDK, but it should work with JS or Go without problems

....
            oidc_provider = aws_eks.OpenIdConnectProvider.from_open_id_connect_provider_arn(
                self,
                "open_id_provider",
                open_id_provider_arn
            )
            
            CfnIdentityProviderConfig(self, 
                "oidc-provider-configuration",
   …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by dborysenko
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants