Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aidanmelen/terraform-provider-snowsql
Terraform SnowSQL provider
https://github.com/aidanmelen/terraform-provider-snowsql
snowflake snowsql terraform terraform-provider
Last synced: about 2 months ago
JSON representation
Terraform SnowSQL provider
- Host: GitHub
- URL: https://github.com/aidanmelen/terraform-provider-snowsql
- Owner: aidanmelen
- License: other
- Created: 2021-08-29T18:53:39.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-22T19:13:12.000Z (11 months ago)
- Last Synced: 2024-11-13T11:07:52.113Z (about 2 months ago)
- Topics: snowflake, snowsql, terraform, terraform-provider
- Language: Go
- Homepage: https://registry.terraform.io/providers/aidanmelen/snowsql/latest
- Size: 420 KB
- Stars: 22
- Watchers: 4
- Forks: 10
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[![release](https://github.com/aidanmelen/terraform-provider-snowsql/actions/workflows/release.yml/badge.svg)](https://github.com/aidanmelen/terraform-provider-snowsql/actions/workflows/release.yml)
[![Tests](https://github.com/aidanmelen/terraform-provider-snowsql/actions/workflows/test.yml/badge.svg)](https://github.com/aidanmelen/terraform-provider-snowsql/actions/workflows/test.yml)# Terraform Provider SnowSQL
The `snowsql` provider allows for custom Terraform CRUD management of [Snowflake](https://www.snowflake.com) objects using [SnowSQL](https://docs.snowflake.com/en/user-guide/snowsql.html).
>**Note**: This provider is not a drop in replacement for the robust resources implemented by [terraform-provider-snowflake](https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest/docs). For example, use the `snowflake_warehouse` resource if you need to create a virtual warehouse, Use this provider when you require fine grain control of [DCL](https://www.geeksforgeeks.org/sql-ddl-dql-dml-dcl-tcl-commands/) commands or to implement Snowflake objects that are unsupported by the Snowflake provider resources.
Similiar to the [terraform-provider-shell](https://registry.terraform.io/providers/scottwinkler/shell/latest/docs); 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.## Build provider
Run the following command to build the provider
```shell
$ go build -o terraform-provider-snowsql
```## Test sample configuration
First, build and install the provider.
```shell
$ make install
```Then, navigate to the `examples` directory.
```shell
$ cd examples/resources/exec/basic
```Run the following command to initialize the workspace and apply the sample configuration.
```shell
$ terraform init && terraform apply
```## Credits
see [CREDITS](CREDITS.md) for more information.