Skip to content

Commit

Permalink
refactor: remove unessential lazy
Browse files Browse the repository at this point in the history
  • Loading branch information
badmintoncryer committed Mar 2, 2024
1 parent dee3cbf commit 420d818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-rds/lib/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ abstract class DatabaseClusterNew extends DatabaseClusterBase {
associatedRoles: clusterAssociatedRoles.length > 0 ? clusterAssociatedRoles : undefined,
deletionProtection: defaultDeletionProtection(props.deletionProtection, props.removalPolicy),
enableIamDatabaseAuthentication: props.iamAuthentication,
enableHttpEndpoint: Lazy.any({ produce: () => this.enableDataApi }),
enableHttpEndpoint: this.enableDataApi,
networkType: props.networkType,
serverlessV2ScalingConfiguration: Lazy.any({
produce: () => {
Expand Down

0 comments on commit 420d818

Please # to comment.