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 9ec2fd7 commit 21677ebCopy full SHA for 21677eb
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