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

r/aws_kms_key: Retry GetKeyRotationStatus on NotFoundException #2133

Merged
merged 1 commit into from
Nov 5, 2017

Conversation

radeksimko
Copy link
Member

This is to address the following test failure:

=== RUN   TestAccAWSKmsKey_isEnabled
--- FAIL: TestAccAWSKmsKey_isEnabled (22.41s)
    testing.go:492: Step 0 error: Error applying: 1 error(s) occurred:
        
        * aws_kms_key.bar: 1 error(s) occurred:
        
        * aws_kms_key.bar: Failed setting KMS key rotation status to true: NotFoundException: Key 'arn:aws:kms:us-west-2:*******:key/2be74763-8842-4a25-bdbe-5c7ad655cd57' does not exist
            status code: 400, request id: 94ba7372-bed8-11e7-b066-975b24c8fa34

@radeksimko radeksimko added the bug Addresses a defect in current functionality. label Nov 1, 2017
Copy link
Contributor

@Ninir Ninir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

$ make testacc TEST=./aws TESTARGS='-run=TestAccAWSKmsKey_isEnabled'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -run=TestAccAWSKmsKey_isEnabled -timeout 120m
=== RUN   TestAccAWSKmsKey_isEnabled
--- PASS: TestAccAWSKmsKey_isEnabled (393.33s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	393.365s

@radeksimko radeksimko merged commit eb2d576 into master Nov 5, 2017
@radeksimko radeksimko deleted the b-kms-retry-rot branch November 5, 2017 12:52
@ghost
Copy link

ghost commented Apr 10, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants