diff --git a/instellar/cluster/resource.go b/instellar/cluster/resource.go index 332c623..284dc92 100644 --- a/instellar/cluster/resource.go +++ b/instellar/cluster/resource.go @@ -66,7 +66,7 @@ func (r *clusterResource) Schema(_ context.Context, _ resource.SchemaRequest, re Description: "Name assigned by the user", Required: true, Validators: []validator.String{ - stringvalidator.LengthBetween(3, 32), + stringvalidator.LengthBetween(3, 48), stringvalidator.RegexMatches( regexp.MustCompile(`^[a-z0-9\-]+$`), "must contain only lowercase alphanumeric characters", diff --git a/instellar/component/resource.go b/instellar/component/resource.go index 0134d33..f8a9de2 100644 --- a/instellar/component/resource.go +++ b/instellar/component/resource.go @@ -78,7 +78,7 @@ func (r *componentResource) Schema(_ context.Context, _ resource.SchemaRequest, Description: "Name of the component assigned by the user", Required: true, Validators: []validator.String{ - stringvalidator.LengthBetween(3, 32), + stringvalidator.LengthBetween(3, 64), stringvalidator.RegexMatches( regexp.MustCompile(`^[a-z0-9\-]+$`), "must contain only lowercase alphanumeric characters",