Skip to content

Comments

fix(docdb): create instances when serverlessV2ScalingConfiguration is set#37064

Draft
encron wants to merge 1 commit intoaws:mainfrom
encron:fix-docdb-serverless-instances
Draft

fix(docdb): create instances when serverlessV2ScalingConfiguration is set#37064
encron wants to merge 1 commit intoaws:mainfrom
encron:fix-docdb-serverless-instances

Conversation

@encron
Copy link
Contributor

@encron encron commented Feb 23, 2026

Issue # (if applicable)

Closes #.

Reason for this change

Currently, when serverlessV2ScalingConfiguration is set, no instances are created for the DocumentDB cluster. Due to the condition on L655, the instance creation is completely skipped.

Description of changes

Instead of skipping the instance creation, the logic will now add instances of type db.serverless for the configured amount by instanceCount.

Describe any new or updated permissions being added

N/A

Description of how you validated changes

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@aws-cdk-automation aws-cdk-automation requested a review from a team February 23, 2026 17:37
@github-actions github-actions bot added p2 beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK labels Feb 23, 2026
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pull request linter fails with the following errors:

❌ Fixes must contain a change to an integration test file and the resulting snapshot.

If you believe this pull request should receive an exemption, please comment and provide a justification. A comment requesting an exemption should contain the text Exemption Request. Additionally, if clarification is needed, add Clarification Request to a comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK p2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants