diff --git a/plugins/modules/route53.py b/plugins/modules/route53.py index 5cddc795590..35baa1f58e5 100644 --- a/plugins/modules/route53.py +++ b/plugins/modules/route53.py @@ -590,7 +590,6 @@ def main(): command = 'UPSERT' else: command = command_in.upper() - if 'AliasTarget' in resource_record_set and 'ResourceRecords' in resource_record_set: del resource_record_set['ResourceRecords']