Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 925 Bytes

account_grant.md

File metadata and controls

38 lines (26 loc) · 925 Bytes
page_title subcategory description
snowflake_account_grant Resource - terraform-provider-snowflake

Resource snowflake_account_grant

Example Usage

resource snowflake_account_grant grant {
  roles             = ["role1", "role2"]
  privilege         = "CREATE ROLE"
  with_grant_option = false
}

Schema

Optional

  • 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

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'