Skip to content

[Bug] is_write_index is spelt incorrectly (is_wtite_index) #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mikeclearbank opened this issue Feb 24, 2022 · 3 comments · Fixed by #79
Closed

[Bug] is_write_index is spelt incorrectly (is_wtite_index) #78

mikeclearbank opened this issue Feb 24, 2022 · 3 comments · Fixed by #79
Assignees
Labels
bug Something isn't working Elasticsearch Elasticsearch related APIs

Comments

@mikeclearbank
Copy link

mikeclearbank commented Feb 24, 2022

Describe the bug
The mapping for the is_write_index property is spelt incorrectly.

located:
https://github.com./elastic/terraform-provider-elasticstack/blob/465c336e59950a781a59e9b03b77bf1d6e9a5a81/internal/models/models.go#:~:text=IsWriteIndex%20%20bool%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%60json%3A%22-,is_wtite_index,-%2Comitempty%22%60

To Reproduce

resource "elasticstack_elasticsearch_index" "my_index" {
  name     = "my_index"

  alias {
      name           = "my_alias"
      is_hidden      = true
    }
  }
}

Expected behavior
An index is created with an assigned alias

Screenshots
image

Versions (please complete the following information):

  • OS: windows
  • Terraform Version 1.1.16
  • Provider version v0.0.3
  • Elasticsearch Version 8.0.0
@mikeclearbank mikeclearbank added the bug Something isn't working label Feb 24, 2022
@olksdr olksdr self-assigned this Feb 24, 2022
@olksdr
Copy link
Contributor

olksdr commented Feb 24, 2022

hey @mikeclearbank thanks for the bug report!

I will address this right away

@olksdr
Copy link
Contributor

olksdr commented Feb 24, 2022

PR is up #79 and will be merged as soon as CI pass

@olksdr olksdr added the Elasticsearch Elasticsearch related APIs label Feb 24, 2022
@olksdr
Copy link
Contributor

olksdr commented Feb 24, 2022

New version of the provider was released v0.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Elasticsearch Elasticsearch related APIs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants