civo/terraform-provider-civo

Update cluster name not working

zulh-civo opened this issue · 0 comments

This happened because we are updating cluster's applications with cluster name from Terraform config file.

if d.HasChange("name") {
config.Applications = d.Get("name").(string)

To fix, change the config.Applications to config.Name.