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 Aug 4, 2021
1 parent bf0c034 commit 6f210c6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions plugins/modules/ec2_vpc_endpoint.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_endpoint
short_description: Create and delete AWS VPC Endpoints.
version_added: 1.0.0
Expand Down Expand Up @@ -96,7 +96,7 @@
'''

EXAMPLES = '''
EXAMPLES = r'''
# Note: These examples do not set authentication details, see the AWS Guide for details.
- name: Create new vpc endpoint with a json template for policy
Expand Down Expand Up @@ -141,7 +141,7 @@
region: ap-southeast-2
'''

RETURN = '''
RETURN = r'''
endpoints:
description: The resulting endpoints from the module call
returned: success
Expand Down Expand Up @@ -345,7 +345,7 @@ def main():
state=dict(default='present', choices=['present', 'absent']),
wait=dict(type='bool', default=False),
wait_timeout=dict(type='int', default=320, required=False),
route_table_ids=dict(type='list'),
route_table_ids=dict(type='list', elements='str'),
vpc_endpoint_id=dict(),
client_token=dict(),
)
Expand Down
8 changes: 4 additions & 4 deletions plugins/modules/ec2_vpc_endpoint_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
__metaclass__ = type


DOCUMENTATION = '''
DOCUMENTATION = r'''
module: ec2_vpc_endpoint_info
short_description: Retrieves AWS VPC endpoints details using AWS methods.
version_added: 1.0.0
Expand Down Expand Up @@ -41,7 +41,7 @@
'''

EXAMPLES = '''
EXAMPLES = r'''
# Simple example of listing all support AWS services for VPC endpoints
- name: List supported AWS endpoint services
community.aws.ec2_vpc_endpoint_info:
Expand Down Expand Up @@ -77,7 +77,7 @@
register: endpoint_details
'''

RETURN = '''
RETURN = r'''
service_names:
description: AWS VPC endpoint service names
returned: I(query) is C(services)
Expand Down Expand Up @@ -169,7 +169,7 @@ def main():
dict(
query=dict(choices=['services', 'endpoints'], required=True),
filters=dict(default={}, type='dict'),
vpc_endpoint_ids=dict(type='list'),
vpc_endpoint_ids=dict(type='list', elements='str'),
)
)

Expand Down

0 comments on commit 6f210c6

Please sign in to comment.