Update RDS snapshot info to use DBClusterIdentifier (#64253)

pull/64785/merge
Sebastian Neira 5 years ago committed by Jill R
parent d6a51807cd
commit 67fd17bee4

@ -327,13 +327,13 @@ def common_snapshot_info(module, conn, method, prefix, params):
def cluster_snapshot_info(module, conn):
snapshot_name = module.params.get('db_cluster_snapshot_identifier')
snapshot_type = module.params.get('snapshot_type')
instance_name = module.params.get('db_cluster_instance_identifier')
instance_name = module.params.get('db_cluster_identifier')
params = dict()
if snapshot_name:
params['DBClusterSnapshotIdentifier'] = snapshot_name
if instance_name:
params['DBClusterInstanceIdentifier'] = instance_name
params['DBClusterIdentifier'] = instance_name
if snapshot_type:
params['SnapshotType'] = snapshot_type
if snapshot_type == 'public':

Loading…
Cancel
Save