snowpipe

branchenergy/snowpipe/snowflake

Terraform Module HCL SNOWFLAKE

A Terraform module for creating automatically-ingesting Snowflake pipes from S3

Install
module "snowpipe" {
source = "branchenergy/snowpipe/snowflake"
version = "4.3.0"
}
plain text: /constructs/tfmod-branchenergy-snowpipe-snowflake/install.txt
⭐ Source on GitHub 📦 Registry page
README

Snowpipe This repository houses a Terraform module for creating automatically-ingesting Snowflake pipes from S3. In particular_, it implements Option 2 of the _Automating Snowpipe for Amazon S3_ Snowflake documentation, creating an SNS topic for each prefix Important Notes and Requirements The following points were hard-won lessons for us, and important to understand for working with this module. Nota bene. - Each S3 bucket can only have a single notification configuration. Look, it's right here in the docs! If you have an existing notification configuration for this bucket, this process will work, but it'll wipe out everything that already exists and you'll probably upset someone, possibly your future self. - There is a 72 hour lag between the deletion of an SNS topic subscription and bei

Inputs (10)
NameTypeDescriptionDefault
prefix_tablesmap( object({ table_A mapping from an S3 bucket prefix to the Snowflake table which it should be loa required
databasestringSnowflake database name required
storage_integrationstringSnowflake storage integration name required
storage_aws_iam_user_arnstringSnowflake storage integration's `STORAGE_AWS_IAM_USER_ARN` property required
bucket_namestringS3 bucket name required
file_formatstringStage file format name used for tables without a custom `file_format` set required
storage_aws_external_idstringSnowflake storage integration's `STORAGE_AWS_EXTERNAL_ID` property required
snowflake_role_pathstringSnowflake role path required
snowflake_role_namestringSnowflake role name required
schemastringSnowflake database schema name required
Resources (4)
aws_iam_policyaws_iam_roleaws_iam_role_policyaws_s3_bucket_notification
Details
FrameworkTerraform Module
LanguageHCL
Version4.3.0
Cloud SNOWFLAKE
★ Stars4
Forks1
Total downloads585
Inputs10
Resources4
Submodules1
LicenseApache-2.0
Namespacebranchenergy
Updated