Skip to content
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

Add AWSRetries to ec2_vol standard boto3 calls #199

Merged
merged 2 commits into from
Nov 17, 2020

Conversation

tremble
Copy link
Contributor

@tremble tremble commented Nov 17, 2020

SUMMARY

Mitigate Rate-limiting errors with ec2_vol

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

ec2_vol

ADDITIONAL INFORMATION

CC: @falcon78921 - this is the AWSRetry changes I mentioned during review.

@jillr jillr merged commit b8c53c0 into ansible-collections:main Nov 17, 2020
@tremble tremble deleted the ec2_vol/retries branch May 28, 2021 07:09
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Sep 18, 2023
…tionStatus API Calls (ansible-collections#199)

* Gracefully handle keys that don't allow kms:GetKeyRotationStatus API calls

Some AWS KMS keys (e.g. aws/acm) do not allow permissions to call the API
kms:GetKeyRotationStatus. As a result, module execution fails, even if the
user execuing it has full admin privileges.

Example: https://forums.aws.amazon.com/thread.jspa?threadID=312992

* change log fragment

* Return None if key rotation status can't be determined

Update documentation to reflect this use case.

Use helper to track the exception.

* Add integration tests
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Sep 18, 2023
…tionStatus API Calls (ansible-collections#199)

* Gracefully handle keys that don't allow kms:GetKeyRotationStatus API calls

Some AWS KMS keys (e.g. aws/acm) do not allow permissions to call the API
kms:GetKeyRotationStatus. As a result, module execution fails, even if the
user execuing it has full admin privileges.

Example: https://forums.aws.amazon.com/thread.jspa?threadID=312992

* change log fragment

* Return None if key rotation status can't be determined

Update documentation to reflect this use case.

Use helper to track the exception.

* Add integration tests
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Oct 24, 2023
…tionStatus API Calls (ansible-collections#199)

* Gracefully handle keys that don't allow kms:GetKeyRotationStatus API calls

Some AWS KMS keys (e.g. aws/acm) do not allow permissions to call the API
kms:GetKeyRotationStatus. As a result, module execution fails, even if the
user execuing it has full admin privileges.

Example: https://forums.aws.amazon.com/thread.jspa?threadID=312992

* change log fragment

* Return None if key rotation status can't be determined

Update documentation to reflect this use case.

Use helper to track the exception.

* Add integration tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants