- Fixed import for resources:
elasticsearch_opendistro_ism_policy
,elasticsearch_opendistro_role
,elasticsearch_opendistro_roles_mapping
. - Fixed diffs for sets in
elasticsearch_opendistro_role
. - Allow omitting tenant permissions
- Fix
elasticsearch_xpack_watch
resource not detecting diffs outside (#65).
- Allow specifying AWS region for URL signing explicitly
- Fixed build process.
- Releases are now built with goreleaser tooling and packaged as zip files. Binaries are built with
CGO_ENABLED=0
as per the recommendations of goreleaser/terraform, these correspond to the previous_static
binaries.
- Support Snapshot lifecycle management
- Datasource: elasticsearch_{destination} in favor of elasticsearch_opendistro_{destination}
- Using date math in index names - an index resource is tied to the resolved index it is created with.
- Add aws profile authentication option
- Fix error on only updating index.force_destroy.
- Rename (backward compatible) elasticsearch_{monitor,destination} to be under opendistro, elasticsearch_opendistro_{monitor,destination}
- Bump terraform plugin sdk to 1.12.0.
- Resource: elasticsearch_{monitor,destination} in favor of elasticsearch_opendistro_{monitor,destination}
- Make ping to elasticsearch during provider config optional
- Add OpenDistro Index State Management (https://opendistro.github.io/for-elasticsearch-docs/docs/ism/api/).
- Add OpenDistro Roles and Role Mappings.
- Clarify naming, watch resources are from xpack.
- elasticsearch_{watch} in favor of elasticsearch_xpack_watch
-
Ability to import xpack users, role mapping and roles (#58, #59) This includes changes to the role
field_security
field. In order to upgrade to this version:- Run the following to generate a list of state remove and import commands:
terraform state list | grep role\\. > roles.txt for i in $(cat roles.txt); do id=$(terraform state show $i | egrep "id" | tr -d '"' | cut -d'=' -f 2) echo "terraform state rm $i" echo "terraform import $i $id" done
- Upgrade to the new provider.
- Copy and paste the state commands that were printed above.
- Run the following to generate a list of state remove and import commands:
- Move source files into specific package.