Skip to content

Commit

Permalink
Comment identifier validation
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jcieslak committed Jan 29, 2024
1 parent 003a6f2 commit 2f4b838
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/resources/role.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ import (

var accountRoleSchema = map[string]*schema.Schema{
"name": {
Type: schema.TypeString,
Required: true,
ValidateDiagFunc: IsValidIdentifier[sdk.AccountObjectIdentifier](),
Type: schema.TypeString,
Required: true,
// TODO(SNOW-999049): Uncomment once better identifier validation will be implemented
// ValidateDiagFunc: IsValidIdentifier[sdk.AccountObjectIdentifier](),
},
"comment": {
Type: schema.TypeString,
Expand Down

0 comments on commit 2f4b838

Please sign in to comment.