Skip to content

Commit

Permalink
Update Examples with FQCN (ansible-collections#67)
Browse files Browse the repository at this point in the history
Updated module examples with FQCN

Signed-off-by: Abhijeet Kasurde <[email protected]>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@98173ae
  • Loading branch information
Akasurde authored and abikouo committed Sep 19, 2024
1 parent acaae2d commit 4139f4f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions plugins/modules/ec2_vpc_vgw.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

EXAMPLES = '''
- name: Create a new vgw attached to a specific VPC
ec2_vpc_vgw:
community.aws.ec2_vpc_vgw:
state: present
region: ap-southeast-2
profile: personal
Expand All @@ -74,7 +74,7 @@
register: created_vgw
- name: Create a new unattached vgw
ec2_vpc_vgw:
community.aws.ec2_vpc_vgw:
state: present
region: ap-southeast-2
profile: personal
Expand All @@ -86,7 +86,7 @@
register: created_vgw
- name: Remove a new vgw using the name
ec2_vpc_vgw:
community.aws.ec2_vpc_vgw:
state: absent
region: ap-southeast-2
profile: personal
Expand All @@ -95,7 +95,7 @@
register: deleted_vgw
- name: Remove a new vgw using the vpn_gateway_id
ec2_vpc_vgw:
community.aws.ec2_vpc_vgw:
state: absent
region: ap-southeast-2
profile: personal
Expand Down
6 changes: 3 additions & 3 deletions plugins/modules/ec2_vpc_vgw_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,21 @@
# # Note: These examples do not set authentication details, see the AWS Guide for details.
- name: Gather information about all virtual gateways for an account or profile
ec2_vpc_vgw_info:
community.aws.ec2_vpc_vgw_info:
region: ap-southeast-2
profile: production
register: vgw_info
- name: Gather information about a filtered list of Virtual Gateways
ec2_vpc_vgw_info:
community.aws.ec2_vpc_vgw_info:
region: ap-southeast-2
profile: production
filters:
"tag:Name": "main-virt-gateway"
register: vgw_info
- name: Gather information about a specific virtual gateway by VpnGatewayIds
ec2_vpc_vgw_info:
community.aws.ec2_vpc_vgw_info:
region: ap-southeast-2
profile: production
vpn_gateway_ids: vgw-c432f6a7
Expand Down

0 comments on commit 4139f4f

Please sign in to comment.