This is complete usage example of snowflake-user
terraform module.
Populate .env
file with Snowflake credentials and make sure it's sourced to your shell.
terraform init
terraform plan -var-file=fixtures.tfvars
terraform init
terraform apply -var-file=fixtures.tfvars
terraform destroy -var-file=fixtures.tfvars
Name | Description | Type | Default | Required |
---|---|---|---|---|
context_templates | A map of context templates to use for generating user names | map(string) |
n/a | yes |
Name | Source | Version |
---|---|---|
terraform_snowflake_legacy_service_user | ../../ | n/a |
terraform_snowflake_service_user | ../../ | n/a |
terraform_snowflake_user_1 | ../../ | n/a |
terraform_snowflake_user_2 | ../../ | n/a |
Name | Description |
---|---|
legacy_service_user | value of the legacy_service_user output |
service_user | All user module outputs |
user_1 | All user module outputs |
user_2 | All user module outputs |
Name | Version |
---|---|
snowflake | ~> 0.96 |
Name | Version |
---|---|
terraform | >= 1.3 |
context | 0.4.0 |
snowflake | ~> 0.96 |
Name | Type |
---|---|
snowflake_account_role.user_role | resource |