Sha256: 07ee5d4d506d006d2c667858d5eadceec80aed52625bed749bf478273abc6f92
Contents?: true
Size: 570 Bytes
Versions: 59
Compression:
Stored size: 570 Bytes
Contents
module Awspec::Helper module Finder module Rds def find_rds(id) # db_instance_identifier res = rds_client.describe_db_instances({ db_instance_identifier: id }) res.db_instances.single_resource(id) end def select_rds_by_vpc_id(vpc_id) res = rds_client.describe_db_instances res.db_instances.select do |db_instance| db_instance.db_subnet_group.vpc_id == vpc_id end end end end end
Version data entries
59 entries across 59 versions & 1 rubygems