When updating the provider to v2.2.1 without making any other changes, the provider errors with an EOF when attempting to create or manage the same opensearch_index resource.
How can one reproduce the bug?
Plan + apply a aws_opensearchserverless_collection resource using the AWS provider. (OK)
Plan + apply an index using v2.2.0 of the opensearch provider. (OK)
Update the opensearch provider to v2.2.1. (OK)
Plan the terraform again with no other changes. (ERROR)
What is the expected behavior?
No regression between 2.2.0 and 2.2.1.
What is your host/environment?
Terraform Cloud
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
TF_LOG=trace only provides a bit more info.
2024-04-11T01:58:56.723Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-04-11T01:58:56.723Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
What is the bug?
With the 2.2.0 opensearch provider, the following provider config ...
... allows the following resource to be provisioned and managed:
When updating the provider to v2.2.1 without making any other changes, the provider errors with an EOF when attempting to create or manage the same
opensearch_index
resource.How can one reproduce the bug?
aws_opensearchserverless_collection
resource using the AWS provider. (OK)What is the expected behavior?
No regression between 2.2.0 and 2.2.1.
What is your host/environment?
Terraform Cloud
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
TF_LOG=trace only provides a bit more info.