aws-cloudformation / aws-cloudformation-resource-providers-rds

The CloudFormation Resource Provider Package For Amazon Relational Database Service
https://aws.amazon.com/rds/
Apache License 2.0
26 stars 42 forks source link

[DBClusterParameterGroup] Conditionally reset parameters #464

Closed khebul closed 1 year ago

khebul commented 1 year ago

This PR changes ResetParameter logic to only reset changed parameters in DBClusterParameterGroup. This allows us to avoid unnecessary reboots caused by resetting parameters with pending-reboot apply method even when unchanged. It also allows to avoid update failures when attempting to reset parameters such as lower_case_table_names - which are not safe to reset.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.