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

Rename rds_snapshot to rds_instance_snapshot #783

Merged
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
3 changes: 3 additions & 0 deletions changelogs/fragments/783-rds_snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
deprecated_features:
- rds_snapshot - the rds_snapshot module has been renamed to rds_instance_snapshot.
The usage of the module has not changed. The rds_snapshot alias will be removed in version 4.0.0 (https://github.com/ansible-collections/community.aws/pull/783).
8 changes: 8 additions & 0 deletions meta/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ action_groups:
- rds_instance_info
- rds_param_group
- rds_snapshot
- rds_instance_snapshot
- rds_snapshot_info
- rds_subnet_group
- rds_option_group
Expand Down Expand Up @@ -520,3 +521,10 @@ plugin_routing:
warning_text: >-
route53_facts was renamed in Ansible 2.9 to route53_info.
Please update your tasks.
rds_snapshot:
redirect: community.aws.rds_instance_snapshot
deprecation:
removal_version: 4.0.0
warning_text: >-
rds_snapshot has been renamed to rds_instance_snapshot.
Please update your tasks.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

DOCUMENTATION = '''
---
module: rds_snapshot
module: rds_instance_snapshot
version_added: 1.0.0
short_description: manage Amazon RDS snapshots.
description:
Expand Down Expand Up @@ -66,12 +66,12 @@

EXAMPLES = '''
- name: Create snapshot
community.aws.rds_snapshot:
community.aws.rds_instance_snapshot:
db_instance_identifier: new-database
db_snapshot_identifier: new-database-snapshot

- name: Delete snapshot
community.aws.rds_snapshot:
community.aws.rds_instance_snapshot:
db_snapshot_identifier: new-database-snapshot
state: absent
'''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@

always:
- name: remove snapshot
rds_snapshot:
rds_instance_snapshot:
db_snapshot_identifier: "{{ resource_prefix }}-test-snapshot"
state: absent
wait: false
Expand Down