Skip to content

Commit

Permalink
explain for feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
go-to-k committed Feb 1, 2024
1 parent cccd4a5 commit 4bf9095
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/aws-cdk-lib/aws-codepipeline/lib/pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ export class Pipeline extends PipelineBase {
throw new Error('Only one of artifactBucket and crossRegionReplicationBuckets can be specified!');
}

// The feature flag is set to true by default for new projects, otherwise false.
this.crossAccountKeys = props.crossAccountKeys
?? (FeatureFlags.of(this).isEnabled(cxapi.CODEPIPELINE_CROSS_ACCOUNT_KEYS_DEFAULT_VALUE_TO_FALSE) ? false : true);
this.enableKeyRotation = props.enableKeyRotation;
Expand Down

0 comments on commit 4bf9095

Please sign in to comment.