Skip to content

Commit

Permalink
route53_health_check - add tagging support (ansible-collections#765)
Browse files Browse the repository at this point in the history
route53_health_check - add tagging support

SUMMARY
add tagging support to route53_health_check
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
route53_health_check
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>
Reviewed-by: None <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections@3248016
  • Loading branch information
tremble authored and alinabuzachis committed Sep 26, 2022
1 parent 82c51ed commit 7e011fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/module_utils/route53.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@


def manage_tags(module, client, resource_type, resource_id, new_tags, purge_tags):
if new_tags is None:
return False

old_tags = get_tags(module, client, resource_type, resource_id)
tags_to_set, tags_to_delete = compare_aws_tags(old_tags, new_tags, purge_tags=purge_tags)

Expand Down

0 comments on commit 7e011fc

Please sign in to comment.