Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DBClusterParameterGroup] Enforce that "aurora_enhanced_binlog" and "binlog_backup" get bundled in the same ModifyDBParameterGroup request #556

Merged

Conversation

JavierAbella
Copy link

There are combinations of ParameterGroups that ModifyDBParameterGroup expected them come in the same request, as they are related and configure a particular functionality. At the same time, the ModifyDBParameterGroup API expects a maximum of 20 parameters that can be modified in a single request. (https://docs.aws.amazon.com/cli/latest/reference/rds/modify-db-parameter-group.html)

In the case that the parameters included in the CFN template exceed the request limit, we could end up in a condition in which 2 related parameters existing in the CFN template, end up in 2 different requests. We need to ensure that all related parameters are sent in the same request.

…binlog_backup" get bundled in the same request to ModifyDBParameterGroup
@JavierAbella JavierAbella marked this pull request as ready for review July 8, 2024 03:48
@JavierAbella JavierAbella added this pull request to the merge queue Jul 8, 2024
Merged via the queue into aws-cloudformation:master with commit 980c8df Jul 8, 2024
1 check passed
@JavierAbella JavierAbella deleted the aurora_enhanced_binlog branch July 8, 2024 05:00
ResourceModel resourceModel = RESOURCE_MODEL.toBuilder()
.parameters(InsertionOrderedParamBuilder.builder()
.addParameter("aurora_enhanced_binlog", "1")
.addRandomParameters(BaseHandlerStd.MAX_PARAMETERS_PER_REQUEST)
Copy link

Choose a reason for hiding this comment

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

would be good to add hardcoded parameters that should not be bundle and that they existed in 2 separate requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants