Skip to content

[Bug] elasticsearch_index.alias and import regressions #767

Closed
@daemitus

Description

@daemitus

Regression due to #698

The alias on my existing index wants to flip the is_write_index field
Additionally, import is no longer supported.

Elasticsearch version: 8.15.1
Provider version: main/head

  # module.elastic.module.signals.elasticstack_elasticsearch_index.signals_defender will be updated in-place
  ~ resource "elasticstack_elasticsearch_index" "index" {
      - default_pipeline       = "something" -> null
        id                     = "my-cluster-id/my-index-name-000001"
        name                   = "my-index-name-000001"
      ~ settings_raw           = jsonencode(
            {
               ... everything is deleted...
            }
        ) -> (known after apply)
        # (7 unchanged attributes hidden)

      - alias {
          - is_hidden      = false -> null
          - is_write_index = true -> null
          - name           = "my-alias" -> null
            # (3 unchanged attributes hidden)
        }
      + alias {
          + is_hidden      = false
          + is_write_index = false
          + name           = "my-alias"
            # (3 unchanged attributes hidden)
        }
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions