|
|
@ -498,9 +498,14 @@ class Ec2Inventory(object):
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
conn = self.connect_to_aws(rds, region)
|
|
|
|
conn = self.connect_to_aws(rds, region)
|
|
|
|
if conn:
|
|
|
|
if conn:
|
|
|
|
instances = conn.get_all_dbinstances()
|
|
|
|
marker = None
|
|
|
|
for instance in instances:
|
|
|
|
while True:
|
|
|
|
self.add_rds_instance(instance, region)
|
|
|
|
instances = conn.get_all_dbinstances(marker=marker)
|
|
|
|
|
|
|
|
marker = instances.marker
|
|
|
|
|
|
|
|
for instance in instances:
|
|
|
|
|
|
|
|
self.add_rds_instance(instance, region)
|
|
|
|
|
|
|
|
if not marker:
|
|
|
|
|
|
|
|
break
|
|
|
|
except boto.exception.BotoServerError as e:
|
|
|
|
except boto.exception.BotoServerError as e:
|
|
|
|
error = e.reason
|
|
|
|
error = e.reason
|
|
|
|
|
|
|
|
|
|
|
|