Skip to content

sfc-gh-gbutzi/terraform-provider-snowflake

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-provider-snowflake

terraform-provider-snowflake is a Terraform provider for the Snowflake cloud data warehouse.

Supported types

Resources

  • snowflake_database
  • snowflake_schema
  • snowflake_pipe
  • snowflake_table
  • snowflake_view

Data Sources

  • snowflake_schema

Configuring the provider

Right now the provider is configured by providing the full DSN which is fed through to the gosnowflake connector. Here are some examples of the format of the DSN:

user[:password]@account/database/schema[?param1=value1&paramN=valueN]
user[:password]@account/database[?param1=value1&paramN=valueN]
user[:password]@host:port/database/schema?account=user_account[?param1=value1&paramN=valueN]

If a variable is set up for the DSN it can be configured as an environment variable or in terraform.tfvars.

Of note

The provider needs an active warehouse to run queries against information_schema for refreshing resources. You have to pre-create an auto-resuming warehouse and specify that warehouse in the DSN as a parameter (ex. ?warehouse=myWarehouse).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 96.4%
  • Makefile 2.1%
  • HCL 1.5%