Skip to content

Commit

Permalink
Docs: sanity fixes (ansible-collections#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
Akasurde authored and alinabuzachis committed Oct 24, 2024
1 parent e7ec036 commit 512cbee
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions plugins/modules/ec2_vpc_vpn.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
__metaclass__ = type


DOCUMENTATION = '''
DOCUMENTATION = r'''
---
module: ec2_vpc_vpn
version_added: 1.0.0
Expand Down Expand Up @@ -141,7 +141,7 @@
default: 15
'''

EXAMPLES = """
EXAMPLES = r"""
# Note: None of these examples set aws_access_key, aws_secret_key, or region.
# It is assumed that their matching environment variables are set.
Expand Down Expand Up @@ -214,7 +214,7 @@
Ansible: Tag
"""

RETURN = """
RETURN = r"""
changed:
description: If the VPN connection has changed.
type: bool
Expand Down Expand Up @@ -742,12 +742,12 @@ def main():
vpn_gateway_id=dict(type='str'),
tags=dict(default={}, type='dict'),
connection_type=dict(default='ipsec.1', type='str'),
tunnel_options=dict(no_log=True, type='list', default=[]),
tunnel_options=dict(no_log=True, type='list', default=[], elements='dict'),
static_only=dict(default=False, type='bool'),
customer_gateway_id=dict(type='str'),
vpn_connection_id=dict(type='str'),
purge_tags=dict(type='bool', default=False),
routes=dict(type='list', default=[]),
routes=dict(type='list', default=[], elements='str'),
purge_routes=dict(type='bool', default=False),
wait_timeout=dict(type='int', default=600),
delay=dict(type='int', default=15),
Expand Down
8 changes: 4 additions & 4 deletions plugins/modules/ec2_vpc_vpn_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
__metaclass__ = type


DOCUMENTATION = '''
DOCUMENTATION = r'''
---
module: ec2_vpc_vpn_info
version_added: 1.0.0
Expand Down Expand Up @@ -35,7 +35,7 @@
'''

EXAMPLES = '''
EXAMPLES = r'''
# # Note: These examples do not set authentication details, see the AWS Guide for details.
- name: Gather information about all vpn connections
community.aws.ec2_vpc_vpn_info:
Expand All @@ -53,7 +53,7 @@
register: vpn_conn_info
'''

RETURN = '''
RETURN = r'''
vpn_connections:
description: List of one or more VPN Connections.
returned: always
Expand Down Expand Up @@ -198,7 +198,7 @@ def list_vpn_connections(connection, module):
def main():

argument_spec = dict(
vpn_connection_ids=dict(default=[], type='list'),
vpn_connection_ids=dict(default=[], type='list', elements='str'),
filters=dict(default={}, type='dict')
)

Expand Down

0 comments on commit 512cbee

Please sign in to comment.