diff --git a/docs/cdk-context-json/README.md b/docs/cdk-context-json/README.md index d9f490d3..17e7f0db 100644 --- a/docs/cdk-context-json/README.md +++ b/docs/cdk-context-json/README.md @@ -48,7 +48,7 @@ index aa0d831..d4b75b6 100644 + + // cdk.context.json lookup support role + const cdkPipelinesVa = core.Environment.usCdkPipelines('us-east-1'); -+ const vaStageId = cdkPipeline.getUniqueStageIdentifier(cdkPipelinesVa).addPrefix(['oicd']); ++ const vaStageId = cdkPipeline.getUniqueStageIdentifier(cdkPipelinesVa).addPrefix(['oidc']); + oidcPermissions.addStage( + GitHubActionsOIDCCdkContextLookupRole.asStage(this, vaStageId.pascal, {...commonProps, namedEnv: cdkPipelinesVa}) + ) diff --git a/docs/cdk-diff/README.md b/docs/cdk-diff/README.md index 5c9c9eff..93eb7d23 100644 --- a/docs/cdk-diff/README.md +++ b/docs/cdk-diff/README.md @@ -62,7 +62,7 @@ This is to make sure you OIDC stages don't conflict with your service. + const oidcPermissions = githubPipeline.addWave('OIDC-GitHub-Actions-Permissions'); + [core.Environment.usQa, core.Environment.globalProd].forEach((factory) => { + const namedEnv = factory('us-east-1'); -+ const stageId = cdkPipeline.getUniqueStageIdentifier(namedEnv).addPrefix(['oicd']); ++ const stageId = cdkPipeline.getUniqueStageIdentifier(namedEnv).addPrefix(['oidc']); + oidcPermissions.addStage( + GitHubActionsOIDCPermissions.asStage(this, stageId.pascal, { ...commonProps, namedEnv }), + );