Skip to content

v1.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 12 May 13:17
· 40 commits to main since this release
2c4422d

1.0.0 (2022-05-12)

chore

  • deps: bump phillbaker/elasticsearch from 1.6.0 to 2.0.0 (#13) (2c4422d)

BREAKING CHANGES

  • deps: All deprecated elasticsearch_opendistro_* resources have been renamed to elasticsearch_opensearch_*.
    After upgrading the module version you have to import/delete all elasticsearch_* 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