forked from ansible-collections/community.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.
Update compare_policies to add a Version string when missing before c…
…omparisons (ansible-collections#98) * Update compare_policies to add a Version string when missing The Version component of an IAM policy is optional. However, AWS will automatically add a Version entry once a policy is uploaded. This means that comparing a 'live' policy to the policy that created it only gives the correct result if we add a Version entry in when missing. fixes: ansible-collections#115 * Cope with missing/None policies * update comment to match what's tested Co-authored-by: Jill R <[email protected]> Co-authored-by: Jill R <[email protected]>
- Loading branch information
Showing
2 changed files
with
78 additions
and
1 deletion.
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
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