You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: error getting search index information: json: cannot unmarshal array into Go struct field IndexMapping.mappings.fields of type mongodbatlas.IndexField
#545
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.
│ Error: error getting search index information: json: cannot unmarshal array into Go struct field IndexMapping.mappings.fields of type mongodbatlas.IndexField
│
│ with mongodbatlas_search_index.skus,
│ on mongodb.tf line 82, in resource "mongodbatlas_search_index""skus":
│ 82:resource"mongodbatlas_search_index""skus" {
Please note that the index has been manually updated via Atlas UI to get that index array definition.
The text was updated successfully, but these errors were encountered:
@stefanosala this is being caused by a bug in the Atlas go client we use. The bug has been fixed so we'll need to update the provider to be able to use it. We will be working on that quickly.
INTMDB-251 internal ticket
Terraform CLI and Terraform MongoDB Atlas Provider Version
Terraform configuration
Atlas search index definition
Steps to Reproduce
terraform apply
Output error
Please note that the index has been manually updated via Atlas UI to get that index array definition.
The text was updated successfully, but these errors were encountered: