forked from ansible/ansible
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite iam_policy using boto3 (ansible#63924)
* reworked iam_policy * Deprecate policy_document option * deprecate defaulting skip_duplicates to true * No longer explicitly catch ParamValidationError. ParamValidationErrror is already caught by ClientError * Work with complex policy objects rather than json documents comparisons can better cope with the special cases (eg True vs "True" ) * Enable check_mode tests and fix related 'changed' bug * changelog * doc cleanup based on review
- Loading branch information
Showing
4 changed files
with
522 additions
and
498 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,5 @@ | ||
minor_changes: | ||
- "iam_policy - The iam_policy module has been migrated from boto to boto3." | ||
deprecated_features: | ||
- "iam_policy - The ``policy_document`` will be removed in Ansible 2.14. To maintain the existing behavior use the ``policy_json`` option and read the file with the ``lookup`` plugin." | ||
- "iam_policy - The default value of ``skip_duplicates`` will change in Ansible 2.14 from ``true`` to ``false``." |
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
Oops, something went wrong.