page_title | subcategory | description |
---|---|---|
snowflake_share Resource - terraform-provider-snowflake |
resource snowflake_share share {
database_name = "db"
schema_name = "schema"
stage_name = "stage"
privilege = "USAGE"
roles = ["role1", "role2"]
shares = ["share1", "share2"]
with_grant_option = false
}
- name (String, Required) Specifies the identifier for the share; must be unique for the account in which the share is created.
- accounts (List of String, Optional) A list of accounts to be added to the share.
- comment (String, Optional) Specifies a comment for the managed account.
- id (String, Optional) The ID of this resource.
Import is supported using the following syntax:
terraform import snowflake_share.example name