From 2f4b83807af5125892f59b62126afc1b8487145c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Cie=C5=9Blak?= Date: Mon, 29 Jan 2024 11:23:41 +0100 Subject: [PATCH] Comment identifier validation --- pkg/resources/role.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkg/resources/role.go b/pkg/resources/role.go index d9e5a599fe..b834650a6c 100644 --- a/pkg/resources/role.go +++ b/pkg/resources/role.go @@ -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,