Skip to content

Commit

Permalink
opensearch - Minor fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
tremble committed Jun 13, 2022
1 parent f985c1a commit f97e4f4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 21 deletions.
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

0 comments on commit f97e4f4

Please sign in to comment.