We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a7c82b commit 65f2784Copy full SHA for 65f2784
spectrocloud/resource_sso.go
@@ -304,11 +304,6 @@ func resourceSSO() *schema.Resource {
304
errs = append(errs, fmt.Errorf("%q must not be empty", key))
305
return
306
}
307
- emailRegex := `^[a-zA-Z0-9._%+\-]+@[a-zA-Z0-9.\-]+\.[a-zA-Z]{2,}$`
308
- matched, err := regexp.MatchString(emailRegex, v)
309
- if err != nil || !matched {
310
- errs = append(errs, fmt.Errorf("%q must be a valid email address", key))
311
- }
312
313
},
314
0 commit comments