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.
aws_kms: Support setting PendingWindowInDays (Deletion Delay) and fix…
… tests (ansible-collections#200) * Ensure we can still update / delete KMS keys when we can't access the key rotation status * Fix and enable KMS tests * Add support for setting the deletion schedule window * Ignore failures during cleanup * changelog * Change role name to match those permitted by CI policies * Split imports - easier to rebase * Make sure key rotation enable/disable errors don't drop through to main() * Allow STS principals as well as IAM principals * Add support for direct lookup by alias/id Use it in test suite (filters are done client side and are SLOW) * Ensure we don't throw an exception when a tag doesn't exist * Add docs * changelog * Flag aws_kms tests as unstable * lint fixups * Consistently handle 'UnsupportedOperationException' on key rotation * Update version added * Allow a little flexibility for deletion times * Update version_added
- Loading branch information
1 parent
d8f7ba7
commit 7c1a800
Showing
6 changed files
with
266 additions
and
79 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,6 @@ | ||
bugfixes: | ||
- aws_kms - fixes issue where module execution fails without the kms:GetKeyRotationStatus permission. (https://github.com/ansible-collections/community.aws/pull/200). | ||
- aws_kms_info - ensure that searching by tag works when tag only exists on some CMKs (https://github.com/ansible-collections/community.aws/issues/276). | ||
minor_changes: | ||
- aws_kms - add support for setting the deletion window using `pending_window` (PendingWindowInDays) (https://github.com/ansible-collections/community.aws/pull/200). | ||
- aws_kms_info - Add ``key_id`` and ``alias`` parameters to support fetching a single key (https://github.com/ansible-collections/community.aws/pull/200). |
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
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
cloud/aws | ||
aws_kms_info | ||
unsupported | ||
shippable/aws/group2 | ||
# Various race conditions - likely needs waiters | ||
unstable |
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 @@ | ||
--- | ||
kms_role_name: 'ansible-test-{{ resource_prefix }}-kms' | ||
kms_key_alias: '{{ resource_prefix }}-kms' |
Oops, something went wrong.