forked from ansible-collections/amazon.aws
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rds_instance - Allow empty enable_cloudwatch_logs_exports (ansible-co…
…llections#1917) rds_instance - Allow empty enable_cloudwatch_logs_exports SUMMARY Fixes ansible-collections#1879 and adds some tests for the enable_cloudwatch_logs_exports parameter. ISSUE TYPE Bugfix Pull Request COMPONENT NAME rds_instance ADDITIONAL INFORMATION I had to add retries before the assertions, the reason is two fold: It's very likely no changes at all are picked up by rds_instance_info if it runs right after modifying the RDS. The API returns 400 if you attempt to modify something else before the previous modification was done, making the following non-check_mode test fail. In my tests, it usually takes about a minute for the modifications to complete, so 200 total seconds should be more than enough. Reviewed-by: Alina Buzachis Reviewed-by: Andrei Costescu Reviewed-by: Mandar Kulkarni <[email protected]> Reviewed-by: Helen Bailey <[email protected]>
- Loading branch information
Showing
3 changed files
with
195 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
minor_changes: | ||
- rds_instance - Allow passing empty list to ``enable_cloudwatch_logs_exports`` in order to remove all existing exports (https://github.com/ansible-collections/amazon.aws/pull/1917). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters