Open
Description
Description
AWS ElasticSearch service was renamed/rebranded to AWS OpenSearch service and domains in the former are automatically migrated to the latter.
The API for the ElasticSearch service remains in place for compatability and is still called by the aws_elasticsearch_domain
and related resourced, but to use new features on domains the new API and resource type aws_opensearch_domain
has to be used.
To best facilitate this the provider should support migrating resources from one to the other using a moved
block.
Affected Resource(s) and/or Data Source(s)
- aws_elasticsearch_domain
- aws_opensearch_domain
Potential Terraform Configuration
resource "aws_opensearch_domain" "this" {
domain_name = "example"
}
moved {
from = aws_elasticsearch_domain.this
to. = aws_opensearch_domain.this
}
References
No response
Would you like to implement a fix?
None