Closed danibarranqueroo closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 89.15%. Comparing base (
abb28af
) to head (bed6762
). Report is 11 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Context
This new check assesses whether automatic minor version upgrades are enabled for Amazon RDS Multi-AZ DB clusters. Enabling automatic upgrades ensures that the database clusters are promptly updated with the latest minor versions, which may include new features, bug fixes, security patches, and performance improvements.
This check is already done for instances but it should be done for both because enabling this on clusters only verify that new instances created will have by default this option enabled, if an instance belongs to a cluster with minor upgrades enabled but it has minor upgrades disabled it won’t be updated so both checks are needed.
Also, Moto doesn’t support the parameter MultiAZ when creating a new cluster so I’ll be using Magic Mock for the test unit of the check.
Description
I added
rds_cluster_minor_version_upgrade_enabled
with his respective unit test.License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.