Skip to content

Commit e49069c

Browse files
committed
Updated project name limit from 36 to 40 characters
1 parent 5192223 commit e49069c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/provider/resource_tfe_project.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func resourceTFEProject() *schema.Resource {
4040
Type: schema.TypeString,
4141
Required: true,
4242
ValidateFunc: validation.All(
43-
validation.StringLenBetween(3, 36),
43+
validation.StringLenBetween(3, 40),
4444
validation.StringMatch(regexp.MustCompile(`\A[\w\-][\w\- ]+[\w\-]\z`),
4545
"can only include letters, numbers, spaces, -, and _."),
4646
),

internal/provider/resource_tfe_project_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func TestAccTFEProject_invalidName(t *testing.T) {
5757
},
5858
{
5959
Config: testAccTFEProject_invalidNameLen(rInt),
60-
ExpectError: regexp.MustCompile(`expected length of name to be in the range \(3 - 36\),`),
60+
ExpectError: regexp.MustCompile(`expected length of name to be in the range \(3 - 40\),`),
6161
},
6262
},
6363
})

0 commit comments

Comments
 (0)