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: Updating a tag value to an empty string ("") results in timeout #33219

Closed
ewbankkit opened this issue Aug 29, 2023 · 3 comments · Fixed by #33226
Closed

r/aws_kms_key: Updating a tag value to an empty string ("") results in timeout #33219

ewbankkit opened this issue Aug 29, 2023 · 3 comments · Fixed by #33226
Labels
bug Addresses a defect in current functionality. service/kms Issues and PRs that pertain to the kms service. tags Pertains to resource tagging.
Milestone

Comments

@ewbankkit
Copy link
Contributor

ewbankkit commented Aug 29, 2023

Updating an aws_kms_key's tag value to an empty string ("") results in a timeout:

% make testacc TESTARGS='-run=TestAccKMSKey_updateTagsEmptyValue' PKG=kms
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/kms/... -v -count 1 -parallel 20  -run=TestAccKMSKey_updateTagsEmptyValue -timeout 180m
=== RUN   TestAccKMSKey_updateTagsEmptyValue
=== PAUSE TestAccKMSKey_updateTagsEmptyValue
=== CONT  TestAccKMSKey_updateTagsEmptyValue
    key_test.go:567: Step 2/2 error: Error running apply: exit status 1
        
        Error: updating tags for KMS (Key Management) Key (dae6edc1-1539-49d5-ab81-402e985bb109): waiting for resource (dae6edc1-1539-49d5-ab81-402e985bb109) tag propagation: timeout while waiting for state to become 'TRUE' (last state: 'FALSE', timeout: 10m0s)
        
          with aws_kms_key.test,
          on terraform_plugin_test.tf line 2, in resource "aws_kms_key" "test":
           2: resource "aws_kms_key" "test" {
        
--- FAIL: TestAccKMSKey_updateTagsEmptyValue (663.29s)
FAIL
FAIL	github.com/hashicorp/terraform-provider-aws/internal/service/kms	669.892s
FAIL
make: *** [testacc] Error 1

Relates #26174.
Relates #33167.
Relates #30793.

@github-actions
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@ewbankkit ewbankkit changed the title r/aws_kms_key: Updating a tag value to an empty string results in timeout r/aws_kms_key: Updating a tag value to an empty string ("") results in timeout Aug 29, 2023
@github-actions github-actions bot added the service/kms Issues and PRs that pertain to the kms service. label Aug 29, 2023
@ewbankkit ewbankkit added bug Addresses a defect in current functionality. tags Pertains to resource tagging. labels Aug 29, 2023
@github-actions github-actions bot added this to the v5.15.0 milestone Aug 30, 2023
@github-actions
Copy link

github-actions bot commented Sep 1, 2023

This functionality has been released in v5.15.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

github-actions bot commented Oct 1, 2023

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 1, 2023
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. service/kms Issues and PRs that pertain to the kms service. tags Pertains to resource tagging.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant