v2.0.0
2.0.0 (2023-12-05)
Features
BREAKING CHANGES
- All
elasticsearch_*
resources have been renamed toopensearch_*
. - Unfortunately,
terraform state mv
andmoved
blocks are not working. - All affected
elasticsearch_*
resources must be migrated manually after the upgrade...terraform state pull > elasticsearch-provider.tfstate jq '.resources[].type |= sub("^elasticsearch_(opensearch_)?"; "opensearch_")' elasticsearch-provider.tfstate > opensearch-provider.tfstate terraform state replace-provider -state=opensearch-provider.tfstate -auto-approve phillbaker/elasticsearch opensearch-project/opensearch terraform state push opensearch-provider.tfstate
- Additionally, you have to migrate all legacy index templates to the new format. Actually the
aliases
,mappings
, andsettings
configs are now nested underneathtemplate
: https://opensearch.org/docs/latest/im-plugin/index-templates/