Switch from OpenIdConnectProvider to OidcProviderNative?

Open
#1,421 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
aws, typescript
Domain
cloud, security

Research direction

Locate the repository usages of OpenIdConnectProvider and inspect how the construct is configured and consumed. Compare them with the OidcProviderNative documentation and determine whether the switch preserves the current functionality while removing the custom resource and Lambda; completion should include validation of the affected behavior.

Written by the indexing model from the issue text.

Description

As per the docs:

This construct uses a custom resource with Lambda functions and is maintained for backward compatibility only. We cannot deprecate it due to its usage in existing services like EKS (see https://github.com/aws/aws-cdk/pull/28634#discussion_r1842962697).

For new functionality, developers should use OidcProviderNative instead, which utilizes the native CloudFormation resource AWS::IAM::OIDCProvider and provides the same functionality with less complexity.

Is it possible to switch to the new OidcProviderNative to save having to create a custom resource / lambda?

Dominant language
TypeScript
Stars
384
Forks
47
Avg merge
1d 7h
Merged PRs (30d)
7

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cdklabs/cdk-pipelines-github

All issues in cdklabs/cdk-pipelines-github

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.