page_title | subcategory | description |
---|---|---|
snowflake_account_grant Resource - terraform-provider-snowflake |
resource snowflake_account_grant grant {
roles = ["role1", "role2"]
privilege = "CREATE ROLE"
with_grant_option = false
}
- id (String, Optional) The ID of this resource.
- privilege (String, Optional) The privilege to grant on the account.
- roles (Set of String, Optional) Grants privilege to these roles.
- with_grant_option (Boolean, Optional) When this is set to true, allows the recipient role to grant the privileges to other roles.
Import is supported using the following syntax:
# format is account name | privilege | true/false for with_grant_option
terraform import snowflake_account_grant.example 'accountName|USAGE|true'