v1.0.0
1.0.0 (2022-05-12)
chore
BREAKING CHANGES
-
deps: All deprecated
elasticsearch_opendistro_*
resources have been renamed toelasticsearch_opensearch_*
.
After upgrading the module version you have to import/delete allelasticsearch_*
resources:for OLD_NAME in $(terraform state list | grep \.elasticsearch_opendistro_); do NEW_NAME="${OLD_NAME/.elasticsearch_opendistro_/.elasticsearch_opensearch_}" IDENTIFIER="$(perl -ne '/\["(.+)"\]/ && print "$1\n";' <<< "${OLD_NAME}")" terraform import "${NEW_NAME}" "${IDENTIFIER}" && terraform state rm "${OLD_NAME}" done