mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 14:20:22 -07:00
ec2_vpc_vgw_facts: fix getting facts about gateways without tags (#34575)
This commit is contained in:
parent
458cc38992
commit
34206a0402
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ def get_virtual_gateway_info(virtual_gateway):
|
||||||
'State': virtual_gateway['State'],
|
'State': virtual_gateway['State'],
|
||||||
'Type': virtual_gateway['Type'],
|
'Type': virtual_gateway['Type'],
|
||||||
'VpcAttachments': virtual_gateway['VpcAttachments'],
|
'VpcAttachments': virtual_gateway['VpcAttachments'],
|
||||||
'Tags': virtual_gateway['Tags']}
|
'Tags': virtual_gateway.get('Tags', [])}
|
||||||
return virtual_gateway_info
|
return virtual_gateway_info
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue