Skip to content

Latest commit

 

History

History

complete

Complete Example

This is complete usage example of snowflake-stage 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 used to generate names map(string) n/a yes

Modules

Name Source Version
internal_stage_1 ../../ n/a
internal_stage_2 ../../ n/a

Outputs

Name Description
internal_stage_1 Internal stage module outputs
internal_stage_2 Internal stage module outputs

Providers

Name Version
snowflake >= 0.95

Requirements

Name Version
terraform >= 1.5
context >=0.4.0
snowflake >= 0.95

Resources

Name Type
snowflake_account_role.role_1 resource
snowflake_database.this resource
snowflake_database_role.db_role_1 resource
snowflake_database_role.db_role_2 resource
snowflake_database_role.db_role_3 resource
snowflake_schema.this resource