Skip to content

Commit

Permalink
fix failure when updating cluster storage type for cluster with stora…
Browse files Browse the repository at this point in the history
…ge config as aurora-standard
  • Loading branch information
mandar242 committed May 15, 2024
1 parent 6b28de5 commit 5c0abe2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/modules/rds_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -1104,6 +1104,10 @@ def changing_cluster_options(modify_params, current_cluster):
changing_params["DBClusterParameterGroupName"] = desired_db_cluster_parameter_group

for param in modify_params:
# describe_db_clusters does not return StorageType for clusters with storage config as "aurora standard"
if param == "StorageType":
changing_params[param] = modify_params[param]
continue
if modify_params[param] != current_cluster[param]:
changing_params[param] = modify_params[param]

Expand Down

0 comments on commit 5c0abe2

Please sign in to comment.