elasticsearch-cloud-deploy
elasticsearch-cloud-deploy copied to clipboard
required field is not set error when running terraform plan (Azure)
Getting theses errors when trying to create the cluster, this is the output of terraform plan
Error: azurerm_virtual_machine_scale_set.data-nodes: "network_profile": required field is not set
Error: azurerm_virtual_machine_scale_set.master-nodes: "network_profile.0.ip_configuration.0.primary": required field is not set
The solution was to add primary = true under network_profile and network_profile.ip_configuration in masters.tf, datas.tf, and clients.tf
Thanks - can you submit a PR with the fix?