role
Infostrux-Solutions/role/snowflake
Open Source Snowflake Terraform Module for Role Implementation, also in the terraform registry, http://registry.terraform.io/modules/Infostrux-Solutions/role/snowflake/latest
Snowflake Role Terraform Module Terraform module which creates Roles on Snowflake. Usage Simple Role: Create a single role. ``hcl module "role" { source = "Infostrux-Solutions/role/snowflake" name = "EXAMPLE" } ` Role with grants: Create a single role and grant sysadmin access. `hcl module "role_with_grant" { source = "../../" name = "EXAMPLE_WITH_GRANTS" granted_roles = ["SYSADMIN"] } ` Role Hierarchy: Creates a role hierarchy with two roles. `hcl module "under_sysadmin_role" { source = "../../" name = "UNDER_SYSADMIN" granted_roles = ["SYSADMIN"] } module "middle_role" { source = "../../" name = "MIDDLE" granted_roles = [module.under_sysadmin_role.role_name] } ` Requirements | Name | Version | |------|---------| | terraform | >= 0.13.1 | | snowflake | >=0.40.0 | Providers | Name | Versio
| Name | Type | Description | Default |
|---|---|---|---|
| name | string | Name of the role. | required |
| comment | string | Specifies a comment for the user. | "Created by Terraform." |
| granted_roles | set(string) | Roles that the role created by the module will have acces. | [] |
role_name — Role's name.role_comment — Roles's comment.role_id — Role's id.