-
Notifications
You must be signed in to change notification settings - Fork 345
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
[PR #2354/786c4b77 backport][stable-8] Fix rds_snapshot_info
return values in docs
#2438
Conversation
SUMMARY There are some inaccuracies and inconsistencies in the documentation for rds_snapshot_info - specifically, missing return types and fields. This PR corrects these issues, and updates their descriptions to more closely mirror the official AWS documentation. ISSUE TYPE Docs Pull Request COMPONENT NAME rds_snapshot_info ADDITIONAL INFORMATION The documentation for rds_snapshot_info show that the module returns cluster_snapshots, but this is only true when db_cluster_identifier or db_cluster_snapshot_identifier is defined. The module returns snapshots when db_snapshot_identifier or db_instance_identifier is defined instead. This appears to have been introduced in amazon.aws 8.2.0 (specifically, PR #2156 - I have mirrored many of the formatting changes done in that PR when re-adding the snapshots object). Several fields were also missing from the return objects for both snapshots and cluster_snapshots, so those have been added. Some descriptions also varied for identical fields in snapshots and cluster_snapshots, so all descriptions have been updated to match the AWS CLI documentation pages for describe-db-snapshots and describe-db-cluster-snapshots. Reviewed-by: Alina Buzachis Reviewed-by: Mark Chappell (cherry picked from commit 786c4b7)
Build failed.
|
Docs Build 📝Thank you for contribution!✨ This PR has been merged and your docs changes will be incorporated when they are next published. |
recheck |
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 4m 54s |
Build succeeded (gate pipeline). ✔️ ansible-galaxy-importer SUCCESS in 3m 21s |
b77d2e6
into
stable-8
This is a backport of PR #2354 as merged into main (786c4b7).
SUMMARY
There are some inaccuracies and inconsistencies in the documentation for
rds_snapshot_info
- specifically, missing return types and fields. This PR corrects these issues, and updates their descriptions to more closely mirror the official AWS documentation.ISSUE TYPE
COMPONENT NAME
rds_snapshot_info
ADDITIONAL INFORMATION
The documentation for
rds_snapshot_info
show that the module returnscluster_snapshots
, but this is only true whendb_cluster_identifier
ordb_cluster_snapshot_identifier
is defined. The module returnssnapshots
whendb_snapshot_identifier
ordb_instance_identifier
is defined instead. This appears to have been introduced in amazon.aws 8.2.0 (specifically, PR #2156 - I have mirrored many of the formatting changes done in that PR when re-adding thesnapshots
object).Several fields were also missing from the return objects for both
snapshots
andcluster_snapshots
, so those have been added. Some descriptions also varied for identical fields insnapshots
andcluster_snapshots
, so all descriptions have been updated to match the AWS CLI documentation pages for describe-db-snapshots and describe-db-cluster-snapshots.