The Terraform SnowSQL provider allows for the management of the create
and delete
lifecycles for Snowflake objects with SnowSQL.
Note: This provider is NOT a drop in replacement for the robust resources implemented by terraform-provider-snowflake e.g. if you want to create a virtual warehouse, then use the snowflake_warehouse
resource. Use this provider when you require fine grain control of DCL commands or to implement Snowflake objects that are unsupported by the Snowflake provider resources. More usecases for this provider can be found here.
Similiar to the terraform-provider-shell; this provider
this is a backdoor into the Terraform runtime. You can do some pretty dangerous things with this and it is up to you to make sure you don't get in trouble. Since this provider is rather different than most other provider, it is recommended that you at least have some familiarity with the internals of Terraform before attempting to use this provider.
Run the following command to build the provider
$ go build -o terraform-provider-snowsql
First, build and install the provider.
$ make install
Then, navigate to the examples
directory.
$ cd examples/simple
Run the following command to initialize the workspace and apply the sample configuration.
$ terraform init && terraform apply
see CREDITS for more information.