10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 72181ee + 8bea129 commit cc9a702Copy full SHA for cc9a702
union.py
@@ -264,7 +264,15 @@ def lambda_handler(event, context):
264
print e
265
else:
266
print 'No matching zone for %s' % configuration[0]
267
-
+
268
+ # Clean up DynamoDB after deleting records
269
+ if state != 'running':
270
+ table.delete_item(
271
+ Key={
272
+ 'InstanceId': instance_id
273
+ }
274
+ )
275
276
def create_table(table_name):
277
dynamodb_client.create_table(
278
TableName=table_name,
@@ -457,4 +465,4 @@ def is_dns_support_enabled(vpc):
457
465
def get_hosted_zone_properties(zone_id):
458
466
hosted_zone_properties = route53.get_hosted_zone(Id=zone_id)
459
467
hosted_zone_properties.pop('ResponseMetadata')
460
- return hosted_zone_properties
468
+ return hosted_zone_properties
0 commit comments