Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opensearch - Minor fixups #1235

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 7 additions & 15 deletions plugins/modules/opensearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
DOCUMENTATION = """
---
module: opensearch
short_description: Creates OpenSearch or ElasticSearch domain.
short_description: Creates OpenSearch or ElasticSearch domain
description:
- Creates or modify a Amazon OpenSearch Service domain.
version_added: 3.1.0
version_added: 4.0.0
author: "Sebastien Rosset (@sebastien-rosset)"
options:
state:
Expand Down Expand Up @@ -387,20 +387,12 @@
- how long before wait gives up, in seconds.
default: 300
type: int
tags:
description:
- tags dict to apply to an OpenSearch cluster.
type: dict
purge_tags:
description:
- whether to remove tags not present in the C(tags) parameter.
default: True
type: bool
requirements:
- botocore >= 1.21.38
- botocore >= 1.21.38
extends_documentation_fragment:
- amazon.aws.aws
- amazon.aws.ec2
- amazon.aws.aws
- amazon.aws.ec2
- amazon.aws.tags
"""

EXAMPLES = """
Expand Down Expand Up @@ -1480,7 +1472,7 @@ def main():
),
),
),
tags=dict(type="dict"),
tags=dict(type="dict", aliases=["resource_tags"]),
purge_tags=dict(type="bool", default=True),
wait=dict(type="bool", default=False),
wait_timeout=dict(type="int", default=300),
Expand Down
12 changes: 6 additions & 6 deletions plugins/modules/opensearch_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
DOCUMENTATION = """
---
module: opensearch_info
short_description: obtain information about one or more OpenSearch or ElasticSearch domain.
short_description: obtain information about one or more OpenSearch or ElasticSearch domain
description:
- obtain information about one Amazon OpenSearch Service domain.
version_added: 3.1.0
- Obtain information about one Amazon OpenSearch Service domain.
version_added: 4.0.0
author: "Sebastien Rosset (@sebastien-rosset)"
options:
domain_name:
Expand All @@ -29,10 +29,10 @@
required: false
type: dict
requirements:
- botocore >= 1.21.38
- botocore >= 1.21.38
extends_documentation_fragment:
- amazon.aws.aws
- amazon.aws.ec2
- amazon.aws.aws
- amazon.aws.ec2
"""

EXAMPLES = '''
Expand Down