-
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
backup_plan: fix usage for advanced_backup_settings param #2110
Comments
Hello @mandar242 , what leads you to believe that a string is being passed for backup_options? Could you kindly provide a reference? From my observations, everything appears to be functioning as intended. Here's the value of the create parameters passed to the create_backup_plan CLI.
|
Hi @GomathiselviS , I could be missing something about the param
|
I will create a PR to update the examples and argspec. |
…ttings parameter (#2124) backup_plan: modify args spec and add examples for advanced_backup_settings parameter Fixes #2110 This PR adds an example to showcase the usage of advanced_backup_settings parameter adds option in args spec and suboption in module doc SUMMARY ISSUE TYPE Docs Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Alina Buzachis Reviewed-by: Bikouo Aubin Reviewed-by: Helen Bailey <[email protected]>
…ttings parameter (#2124) backup_plan: modify args spec and add examples for advanced_backup_settings parameter Fixes #2110 This PR adds an example to showcase the usage of advanced_backup_settings parameter adds option in args spec and suboption in module doc SUMMARY ISSUE TYPE Docs Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Alina Buzachis Reviewed-by: Bikouo Aubin Reviewed-by: Helen Bailey <[email protected]> (cherry picked from commit 7c1d8aa)
…ttings parameter (#2124) backup_plan: modify args spec and add examples for advanced_backup_settings parameter Fixes #2110 This PR adds an example to showcase the usage of advanced_backup_settings parameter adds option in args spec and suboption in module doc SUMMARY ISSUE TYPE Docs Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Alina Buzachis Reviewed-by: Bikouo Aubin Reviewed-by: Helen Bailey <[email protected]> (cherry picked from commit 7c1d8aa)
…ttings parameter (ansible-collections#2124) backup_plan: modify args spec and add examples for advanced_backup_settings parameter Fixes ansible-collections#2110 This PR adds an example to showcase the usage of advanced_backup_settings parameter adds option in args spec and suboption in module doc SUMMARY ISSUE TYPE Docs Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Alina Buzachis Reviewed-by: Bikouo Aubin Reviewed-by: Helen Bailey <[email protected]>
…ttings parameter (#2124) (#2129) This is a backport of PR #2124 as merged into main (7c1d8aa). Fixes #2110 This PR adds an example to showcase the usage of advanced_backup_settings parameter adds option in args spec and suboption in module doc SUMMARY ISSUE TYPE Docs Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Alina Buzachis
…ttings parameter (#2124) (#2128) This is a backport of PR #2124 as merged into main (7c1d8aa). Fixes #2110 This PR adds an example to showcase the usage of advanced_backup_settings parameter adds option in args spec and suboption in module doc SUMMARY ISSUE TYPE Docs Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Alina Buzachis
Summary
The module
amazon.aws.backup_plan
does not provide example of usageadvanced_backup_settings
andadvanced_backup_settings.backup_options
param.Also looking at the argspec for the option, not sure if it will work as expected because it's expecting a dict but I what actually gets passed is a string.
https://github.com/ansible-collections/amazon.aws/blob/main/plugins/modules/backup_plan.py#L151-L156
https://github.com/ansible-collections/amazon.aws/blob/main/plugins/modules/backup_plan.py#L383-L393
Issue Type
Bug Report
Component Name
backup_plan
Ansible Version
Collection Versions
AWS SDK versions
Configuration
$ ansible-config dump --only-changed
OS / Environment
No response
Steps to Reproduce
Create a backup_plan using the option similar to above
Expected Results
The usage of param is advanced_backup_settings verified and fixed if required.
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: