-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Elasticsearch/OpenSearch service has renamed instance types #23922
Comments
Hi @marek-obuchowicz . The behaviour you're seeing is because you've specified a non-OpenSearch version in I'll take a look to see if the API allows for an easy check to see if there is a way of detecting mismatched version -> instance types but in the meantime using a supported elasticsearch_version+instance_type combination should get you on your way. |
Just noting this here for posterity; it looks like plan-time validation isn't possible here (I guessed as much given that it's not been implemented yet). There's ListElasticsearchInstanceTypes but that requires passing in the value of |
Ok, perfect, let's wait for "first class" support in issue you mentioned and close this one. FYI, Using latest release is sadly not an option for us. Elasticsearch / OpenSearch major versions 5.x, 6.x, 7.x etc. are not compatible and sadly some of our projects rely on legacy majors. An upgrade from 5 to 6 to 7 requires a lot of development work as internal schema logic changed a lot in ES, so i'm not expecting to have it within "days" or "weeks", rather "months" or even "years" time. |
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
AWS provider 3.75.1
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Terraform should allow current instance types for elasticsearch (opensearch) service. They are called now like
t3.small.search
- instead oft3.small.elasticsearch
Actual Behavior
Terraform allows to specify currently supported instance types
Steps to Reproduce
While providing old instance types (ie.
t3.small.elasticsearch
) - AWS API rejects that:While trying to use correct, new names,
t3.small.search
- terraform stops with validation error:References
https://docs.aws.amazon.com/opensearch-service/latest/developerguide/supported-resources.html
The text was updated successfully, but these errors were encountered: