base/snowflake/

snowflake/

This module creates the necessary Snowflake resources for the data platform:

  • Database and schemas

  • Warehouse

  • Technical user with appropriate permissions (used typically by dbt)

Example Usage

module "snowflake" {
  source = "git::https://github.com/boringdata/boringdata-template-aws-snowflake.git//base/snowflake"
  environment = "dev"
}

Filetree

base/
└── snowflake/
    ├── data.tf          # Snowflake account data sources
    ├── db.tf            # Database definition
    ├── locals.tf
    ├── outputs.tf
    ├── schema.tf        # Schema definitions
    ├── tech_user.tf     # Technical user and permissions
    ├── variables.tf
    ├── versions.tf      # Snowflake provider versions
    └── warehouse.tf     # Warehouse configuration

Diagram

Requirements

Name
Version

>=1.5.7

>=1.0.0

Providers

Name
Version

4.0.6

Modules

No modules.

Resources

Inputs

Name
Description
Type
Default
Required

The environment to deploy to - will prefix the name of all resources

string

n/a

yes

Outputs

Name
Description

Last updated