Skip to content

Commit

Permalink
increase resource name limit
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksiri committed Aug 3, 2023
1 parent 431f02a commit c3d1185
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion instellar/cluster/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion instellar/component/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c3d1185

Please sign in to comment.