You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// So we test it here to make sure we don't regress.
98
98
ExpectError: nil,
99
99
},
100
+
{
101
+
Name: "Description field exceeds maximum supported length (128 characters)",
102
+
Config: `
103
+
data "coder_workspace_preset" "preset_1" {
104
+
name = "preset_1"
105
+
description = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur vehicula leo sit amet mi laoreet, sed ornare velit tincidunt. Proin gravida lacinia blandit."
106
+
parameters = {
107
+
"region" = "us-east1-a"
108
+
}
109
+
}`,
110
+
// This validation is done by Terraform, but it could still break if we misconfigure the schema.
111
+
// So we test it here to make sure we don't regress.
112
+
ExpectError: regexp.MustCompile(`expected length of description to be in the range \(0 - 128\)`),
0 commit comments