|
|
|
@ -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':
|
|
|
|
|