Skip to content

Commit

Permalink
fix diff mode (ansible-collections#802)
Browse files Browse the repository at this point in the history
Route53: fix diff mode when state: absent

SUMMARY
Fix diff mode when state: absend
ISSUE TYPE


Bugfix Pull Request

COMPONENT NAME

route53

Reviewed-by: Felix Fontein <None>
Reviewed-by: None <None>
  • Loading branch information
markuman authored Nov 12, 2021
1 parent d50273d commit 18a10b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion route53.py
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ def main():
changed=True,
diff=dict(
before=formatted_aws,
after=formatted_record if command != 'delete' else {},
after=formatted_record if command_in != 'delete' else {},
resource_record_sets=rr_sets,
),
)
Expand Down

0 comments on commit 18a10b5

Please sign in to comment.