Skip to content

[Bug] Data Stream settings are not persisting in index template #91

@poiriermike

Description

@poiriermike

Describe the bug
data_stream setting for elasticstack_elasticsearch_index_template is not persisting on subsequent runs

To Reproduce

  1. Create an index template
  2. Modify index template settings (tested by modifying priority
  3. Re-run terraform plan (will show changes, but nothing about data stream)
  4. Run terraform apply. Will remove the data stream property from the ojbect

Expected behavior
Data stream settings are preserved on update

Debug output
Run terraform command with TF_LOG=trace and provide extended information on TF operations.

Logs https://gist.github.com/poiriermike/d34ef8dda376fa245337c0b2c1a2c0c0

Screenshots

Screen Shot 2022-03-16 at 3 35 46 PM

Screen Shot 2022-03-16 at 3 34 41 PM

Versions (please complete the following information):

  • OS: [e.g. Linux]
  • Terraform Version [1.1.7]
  • Provider version [0.3.2]
  • Elasticsearch Version [8.0.1]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

ElasticsearchElasticsearch related APIsbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions