Add storedSource parameter to atlas admin API search index create/update to use with terraform
Right now it is impossible to create atlas search index via terraform with "storedSource" parameter. This brings a lot of inconvenience and configuration-related bugs.
Related issue
https://github.com/mongodb/terraform-provider-mongodbatlas/issues/871
Stored Source Parameter in mongodbatlas_search_index resource and data source has now been released in Terraform. Users will need to upgrade to latest Terraform Atlas provider to be able to use.
For more details see here: https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/search_index#stored_source
-
AdminZuhair (Admin, MongoDB) commented
Stored Source Parameter in mongodbatlas_search_index resource and data source has now been released in Terraform. Users will need to upgrade to latest Terraform Atlas provider to be able to use.
For more details see here: https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/search_index#stored_source
-
Benjamin commented
We want to set up stored source fields in an Atlas search index. It works fine when we do it "manually" from the Atlas UI.
However, we cannot find any way to set it through the mongodbatlas terraform provider.