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
When adding remote clusters from data.ec_deployments it isn't possible to add clusters which don't have the current default ref_id of main-elasticsearch. Leaving it blanks results in the error message:
deployments.deployment_remote_resource_not_found: Invalid Remote Clusters Configuration. The following resource could not be found:(deployment [removed] - ref_id [main-elasticsearch])
@Crazybus the example uses the ec_deployment resource, not any of the data resources. I'll work on adding this to the data.ec_deployments so it's available.
Overview
Add
ref_id
to data.ec_deployments. It is currently only available in data.ec_deployment: https://registry.terraform.io/providers/elastic/ec/latest/docs/data-sources/ec_deployment#elasticsearch.#.ref_idPossible Implementation
Testing
Context
When adding remote clusters from data.ec_deployments it isn't possible to add clusters which don't have the current default ref_id of
main-elasticsearch
. Leaving it blanks results in the error message:An example of it being used with data.ec_deployment can be seen here:
https://registry.terraform.io/providers/elastic/ec/latest/docs/resources/ec_deployment#with-cross-cluster-search-settings
Your Environment
The text was updated successfully, but these errors were encountered: