mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-17 22:01:07 -07:00
Add ec2_vpc_route_table example, fix typo (#32415)
* Add an example in the `ec2_vpc_route_table` module of deleting a route table. * Fix a typo in the AWS development guidelines, from `fail_json.aws()` to `fail_json_aws()`.
This commit is contained in:
parent
a1d60741a7
commit
312155a641
2 changed files with 8 additions and 1 deletions
|
@ -128,6 +128,13 @@ EXAMPLES = '''
|
|||
instance_id: "{{ nat.instance_id }}"
|
||||
register: nat_route_table
|
||||
|
||||
- name: delete route table
|
||||
ec2_vpc_route_table:
|
||||
vpc_id: vpc-1245678
|
||||
region: us-west-1
|
||||
route_table_id: "{{ route_table.id }}"
|
||||
lookup: id
|
||||
state: absent
|
||||
'''
|
||||
|
||||
import re
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue