Skip to content

Commit

Permalink
Add changelog fragment
Browse files Browse the repository at this point in the history
Signed-off-by: Alina Buzachis <[email protected]>
  • Loading branch information
alinabuzachis committed Oct 4, 2021
1 parent 3a093a3 commit dfa098b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/524-ec2_vpc_nat_gateway-tagging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- ec2_vpc_nat_gateway - use module_util helper for tagging (https://github.com/ansible-collections/amazon.aws/pull/524).
2 changes: 1 addition & 1 deletion plugins/modules/ec2_vpc_nat_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ def pre_create(client, module, subnet_id, tags, purge_tags, allocation_id=None,

results = get_nat_gateways(client, module, subnet_id=subnet_id,
nat_gateway_id=results['nat_gateway_id'])[0]
results['tags'] = boto3_tag_list_to_ansible_dict(results['tags'])
results['tags'] = boto3_tag_list_to_ansible_dict(results['tags'])

if changed:
return changed, msg, results
Expand Down

0 comments on commit dfa098b

Please sign in to comment.