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

[Bug]: Error: updating OpenSearch Domain (): ValidationException: A change/update is in progress. Please wait for it to complete before requesting another change. #38136

Open
rumenvasilev opened this issue Jun 26, 2024 · 1 comment · May be fixed by #38137
Labels
bug Addresses a defect in current functionality. service/opensearch Issues and PRs that pertain to the opensearch service.

Comments

@rumenvasilev
Copy link

Terraform Core Version

1.7.5

AWS Provider Version

5.55.0

Affected Resource(s)

  • aws_opensearch_domain

Expected Behavior

The aws_opensearch_domain resource waits until OS domain is ready to take another change.

Actual Behavior

Error: updating OpenSearch Domain (): ValidationException: A change/update is in progress. Please wait for it to complete before requesting another change.

Relevant Error/Panic Output Snippet

aws_security_group.os: Modifying... [id=id]
aws_security_group.os: Modifications complete after 0s [id=id]
module.opensearch.aws_opensearch_domain.this: Modifying... []
Error: updating OpenSearch Domain (): ValidationException: A change/update is in progress. Please wait for it to complete before requesting another change.

with module.opensearch.aws_opensearch_domain.this,
on .terraform/modules/opensearch/main.tf line 21, in resource "aws_opensearch_domain" "this":
21: resource "aws_opensearch_domain" "this" {

Terraform Configuration Files

We use terra grunt as a wrapper, so no specific tf file to share here. However a similar bug has already been seen & fixed in #35811.

Steps to Reproduce

Make a aws_security_group (referenced in the aws_opensearch_domain) change and change any other parameter of the Opensearch domain (like instance type for example).

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

Yes

@rumenvasilev rumenvasilev added the bug Addresses a defect in current functionality. label Jun 26, 2024
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.

@github-actions github-actions bot added the service/opensearch Issues and PRs that pertain to the opensearch service. label Jun 26, 2024
@terraform-aws-provider terraform-aws-provider bot added the needs-triage Waiting for first response or review from a maintainer. label Jun 26, 2024
@justinretzolk justinretzolk removed the needs-triage Waiting for first response or review from a maintainer. label Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Addresses a defect in current functionality. service/opensearch Issues and PRs that pertain to the opensearch service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants