diff --git a/civo/resource_kubernetes_cluster.go b/civo/resource_kubernetes_cluster.go index 255dce2..cffb0d7 100644 --- a/civo/resource_kubernetes_cluster.go +++ b/civo/resource_kubernetes_cluster.go @@ -274,7 +274,7 @@ func resourceKubernetesClusterCreate(ctx context.Context, d *schema.ResourceData if attr, ok := d.GetOk("applications"); ok { if utils.CheckAPPName(attr.(string), apiClient) { - config.Applications = attr.(string) + config.Applications = strings.ReplaceAll(attr.(string), " ", "") } else { return diag.Errorf("[ERR] the app that tries to install is not valid: %s", attr.(string)) }