diff --git a/schedule-ebs-snapshot-backups.py b/schedule-ebs-snapshot-backups.py index aa24791..ab201f0 100644 --- a/schedule-ebs-snapshot-backups.py +++ b/schedule-ebs-snapshot-backups.py @@ -20,7 +20,7 @@ def lambda_handler(event, context): reservations = ec.describe_instances( Filters=[ - {'Name': 'tag-key', 'Values': ['backup', 'Backup']}, + {'Name': 'tag:Backup', 'Values': ['true', 'yes', '1']}, ] ).get( 'Reservations', []