Skip to content

Commit

Permalink
changes after review
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jcieslak committed Aug 28, 2024
1 parent d9ca745 commit e600a3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/resources/database_role.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ resource "snowflake_database_role" "test_database_role" {

### Required

- `database` (String) The database in which to create the database role.
- `name` (String) Specifies the identifier for the database role.
- `database` (String) The database in which to create the database role. Due to technical limitations (read more [here](https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/docs/technical-documentation/identifiers_rework_design_decisions.md#known-limitations-and-identifier-recommendations)), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
- `name` (String) Specifies the identifier for the database role. Due to technical limitations (read more [here](https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/docs/technical-documentation/identifiers_rework_design_decisions.md#known-limitations-and-identifier-recommendations)), avoid using the following characters: `|`, `.`, `(`, `)`, `"`

### Optional

Expand Down
4 changes: 2 additions & 2 deletions pkg/resources/database_role.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ var databaseRoleSchema = map[string]*schema.Schema{
"name": {
Type: schema.TypeString,
Required: true,
Description: "Specifies the identifier for the database role.",
Description: blocklistedCharactersFieldDescription("Specifies the identifier for the database role."),
DiffSuppressFunc: suppressIdentifierQuoting,
},
"database": {
Type: schema.TypeString,
Required: true,
ForceNew: true,
Description: "The database in which to create the database role.",
Description: blocklistedCharactersFieldDescription("The database in which to create the database role."),
DiffSuppressFunc: suppressIdentifierQuoting,
},
"comment": {
Expand Down

0 comments on commit e600a3a

Please sign in to comment.