Skip to content

Latest commit

 

History

History

complete

Complete Example

This is complete usage example of snowflake-user terraform module.

Usage

Populate .env file with Snowflake credentials and make sure it's sourced to your shell.

How to plan

terraform init
terraform plan -var-file=fixtures.tfvars

How to apply

terraform init
terraform apply -var-file=fixtures.tfvars

How to destroy

terraform destroy -var-file=fixtures.tfvars

Inputs

Name Description Type Default Required
context_templates A map of context templates to use for generating user names map(string) n/a yes

Modules

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

Outputs

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

Providers

Name Version
snowflake ~> 0.96

Requirements

Name Version
terraform >= 1.3
context 0.4.0
snowflake ~> 0.96

Resources

Name Type
snowflake_account_role.user_role resource