lib/aws_recon/collectors/rds.rb in aws_recon-0.2.32 vs lib/aws_recon/collectors/rds.rb in aws_recon-0.2.33

- old
+ new

@@ -66,9 +66,27 @@ resources.push(struct.to_h) end end # + # describe_db_cluster_snapshots + # + @client.describe_db_cluster_snapshots.each_with_index do |response, page| + log(response.context.operation_name, page) + + response.db_cluster_snapshots.each do |snapshot| + log(response.context.operation_name, snapshot.db_cluster_snapshot_identifier) + + struct = OpenStruct.new(snapshot.to_h) + struct.type = 'db_cluster_snapshot' + struct.arn = snapshot.db_cluster_snapshot_arn + struct.parent_id = snapshot.db_cluster_identifier + + resources.push(struct.to_h) + end + end + + # # describe_db_engine_versions # unless @options.skip_slow @client.describe_db_engine_versions.each_with_index do |response, page| log(response.context.operation_name, page)