Skip to content

Commit

Permalink
[DBCluster] Stabilization for pending AllocatedStorage and Iops (aws-…
Browse files Browse the repository at this point in the history
…cloudformation#530)

Co-authored-by: dbbh <hendiogo@amazon.com>
  • Loading branch information
dbbh and dbbh authored Apr 15, 2024
1 parent cf44c35 commit dad81f5
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,9 @@ protected boolean isNoPendingChanges(final DBCluster dbCluster) {
modifiedValues.masterUserPassword() == null &&
modifiedValues.iamDatabaseAuthenticationEnabled() == null &&
modifiedValues.engineVersion() == null &&
modifiedValues.storageType() == null);
modifiedValues.storageType() == null &&
modifiedValues.allocatedStorage() == null &&
modifiedValues.iops() == null);
}

protected boolean isDBClusterStabilized(
Expand All @@ -326,7 +328,7 @@ protected boolean isDBClusterStabilized(
final boolean isMasterUserSecretStabilizedResult = isMasterUserSecretStabilized(dbCluster);
final boolean isGlobalWriteForwardingStabilizedResult = isGlobalWriteForwardingStabilized(dbCluster);

requestLogger.log(String.format("isDbClusterStabilized: $b", isDBClusterStabilizedResult),
requestLogger.log(String.format("isDbClusterStabilized: %b", isDBClusterStabilizedResult),
ImmutableMap.of("isDbClusterAvailable", isDBClusterStabilizedResult,
"isNoPendingChanges", isNoPendingChangesResult,
"isMasterUserSecretStabilized", isMasterUserSecretStabilizedResult,
Expand Down

0 comments on commit dad81f5

Please sign in to comment.