-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
aws_cloudsearch_domain tries to update in-place index_field on each run #23570
Comments
This is a huge problem for us. It delays the deploy pipeline unnecessary with ~2 hours every time. |
@haavardw The workaround we use for the moment is to ignore changes on index_field in lifecycle (and remove that ignore if we want to change the index_fields which does not happen often)
|
|
Relates: #17723. |
It looks like we'll need a custom Also, we need to search |
This functionality has been released in v4.6.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! |
@ewbankkit After upgrading to v4.6.0 I still have the issue, should I reopen the issue ? |
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. |
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
https://gist.github.com/edwandr/9121463d2bd4b286be8227b22927165a
Panic Output
Expected Behavior
If there are no changes on aws_cloudsearch_domain resource, I don't expect any update on it in the plan
Actual Behavior
Each time I run a plan (to update something else or just launching a manual plan with no changes), terraform wants to update in-place the aws_cloudsearch_domain to remove all index_field and recreate them
Steps to Reproduce
terraform apply
terraform plan
and see that it wants to update aws_cloudsearch_domain in-place though there are no changesImportant Factoids
References
The text was updated successfully, but these errors were encountered: