We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2bad2b commit a7ee6d7Copy full SHA for a7ee6d7
internal/verify/uuid.go
@@ -97,7 +97,7 @@ func IsUUIDWithLocality() schema.SchemaValidateDiagFunc {
97
98
func IsUUIDOrNameOffer() schema.SchemaValidateDiagFunc {
99
return func(value any, path cty.Path) diag.Diagnostics {
100
- uuid, _ := value.(string)
+ uuid := locality.ExpandID(value)
101
if !validation.IsUUID(uuid) {
102
return diag.Diagnostics{diag.Diagnostic{
103
Severity: diag.Warning,
0 commit comments