Skip to content

Commit

Permalink
Tagging fragment - Move simplest cases over to the docs fragment. (an…
Browse files Browse the repository at this point in the history
…sible-collections#1200)

Tagging fragment - rds_instance_snapshot - Move over to the docs fragment.

SUMMARY
The rds_instance_snapshot tests are slow enough to cause test timeouts when combined with too many other changed, split this off.
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
rds_instance_snapshot
ADDITIONAL INFORMATION
The change itself was approved on ansible-collections#1182

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections@9ca5540
  • Loading branch information
tremble authored and goneri committed Sep 21, 2022
1 parent edc557b commit 9da0577
Showing 1 changed file with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions plugins/modules/rds_instance_snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
version_added: 1.0.0
short_description: Manage Amazon RDS instance snapshots
description:
- Creates or deletes RDS snapshots.
- Creates or deletes RDS snapshots.
options:
state:
description:
Expand Down Expand Up @@ -68,24 +68,15 @@
- how long before wait gives up, in seconds.
default: 300
type: int
tags:
description:
- tags dict to apply to a snapshot.
type: dict
purge_tags:
description:
- whether to remove tags not present in the I(tags) parameter.
default: True
type: bool
author:
- "Will Thames (@willthames)"
- "Michael De La Rue (@mikedlr)"
- "Alina Buzachis (@alinabuzachis)"
- "Joseph Torcasso (@jatorcasso)"
- "Will Thames (@willthames)"
- "Michael De La Rue (@mikedlr)"
- "Alina Buzachis (@alinabuzachis)"
- "Joseph Torcasso (@jatorcasso)"
extends_documentation_fragment:
- amazon.aws.aws
- amazon.aws.ec2
- amazon.aws.aws
- amazon.aws.ec2
- amazon.aws.tags
'''

EXAMPLES = r'''
Expand Down Expand Up @@ -359,7 +350,7 @@ def main():
source_db_snapshot_identifier=dict(aliases=['source_id', 'source_snapshot_id']),
wait=dict(type='bool', default=False),
wait_timeout=dict(type='int', default=300),
tags=dict(type='dict'),
tags=dict(type='dict', aliases=['resource_tags']),
purge_tags=dict(type='bool', default=True),
copy_tags=dict(type='bool', default=False),
source_region=dict(type='str'),
Expand Down

0 comments on commit 9da0577

Please sign in to comment.