Skip to content

[Bug] elasticstack_elasticsearch_snapshot_repository gcs.base_path is ignored #925

@baprx

Description

@baprx

Describe the bug

I want to configure the Base path of a GCS snapshot repository but the Terraform provider ignores the base_path setting. If I manually add it on the console, the plan doesn't even show the diff.

Image

To Reproduce
Steps to reproduce the behavior:

  1. TF configuration used
resource "elasticstack_elasticsearch_snapshot_repository" "gcs" {
  name = "elasticsearch-backup"

  gcs {
    bucket    = "elasticsearch-backup"
    base_path = "elasticsearch-data"
  }
}
  1. TF operations to execute to get the error : terraform plan

Expected behavior
The base path setting should be updated.

Versions (please complete the following information):

  • OS: MacOS
  • Terraform Version 1.9.8
  • Provider version v0.11.11
  • Elasticsearch Version 7.17.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions