Skip to main content

A Pulumi package for creating and managing snowflake cloud resources.

Project description

Actions Status Slack NPM version Python version NuGet version PkgGoDev License

Snowflake Resource Provider

The Snowflake Resource Provider lets you manage Snowflake resources.

Installing

This package is available in many languages in the standard packaging formats.

Node.js (Java/TypeScript)

To use from JavaScript or TypeScript in Node.js, install using either npm:

$ npm install @pulumi/snowflake

or yarn:

$ yarn add @pulumi/snowflake

Python

To use from Python, install using pip:

$ pip install pulumi_snowflake

Go

To use from Go, use go get to grab the latest version of the library

$ go get github.com/pulumi/pulumi-snowflake/sdk

.NET

To use from .NET, install using dotnet add package:

$ dotnet add package Pulumi.Snowflake

Configuration

The following configuration points are available:

  • snowflake:account - (required) The name of the Snowflake account. Can also come from the SNOWFLAKE_ACCOUNT environment variable.
  • snowflake:username - (required) Username for username+password authentication. Can come from the SNOWFLAKE_USER environment variable.
  • snowflake:region - (required) Snowflake region to use. Can be sourced from the SNOWFLAKE_REGION environment variable.
  • snowflake:password - (optional) Password for username+password auth. Cannot be used with browser_auth or snowflake:privateKeyPath. Can be sourced from SNOWFLAKE_PASSWORD environment variable.
  • snowflake:oauthAccessToken - (optional) Token for use with OAuth. Generating the token is left to other tools. Cannot be used with snowflake:browserAuth, snowflake:privateKeyPath, snowflake:oauthRefreshToken or snowflake:password. Can be sourced from SNOWFLAKE_OAUTH_ACCESS_TOKEN environment variable.
  • snowflake:oauthRefreshToken - (optional) Token for use with OAuth. Setup and generation of the token is left to other tools. Should be used in conjunction with snowflake:oauthClientId, snowflake:oauthClientSecret, snowflake:oauthEndpoint, snowflake:oauthRedirectUrl. Cannot be used with snowflake:browserAuth, snowflake:privateKeyPath, snowflake:oauthAccessToken or snowflake:password. Can be sourced from SNOWFLAKE_OAUTH_REFRESH_TOKEN environment variable.
  • snowflake:oauthClientId - (optional) Required when snowflake:oauthRefreshToken is used. Can be sourced from SNOWFLAKE_OAUTH_CLIENT_ID environment variable.
  • snowflake:oauthClientSecret - (optional) Required when snowflake:oauthRefreshToken is used. Can be sourced from SNOWFLAKE_OAUTH_CLIENT_SECRET environment variable.
  • snowflake:oauthEndpoint - (optional) Required when snowflake:oauthRefreshToken is used. Can be sourced from SNOWFLAKE_OAUTH_ENDPOINT environment variable.
  • snowflake:oauthRedirectUrl - (optional) Required when snowflake:oauthRefreshToken is used. Can be sourced from SNOWFLAKE_OAUTH_REDIRECT_URL environment variable.
  • snowflake:privateKeyPath - (optional) Path to a private key for using keypair authentication.. Cannot be used with snowflake:browserAuth, snowflake:oauthAccessToken or snowflake:password. Can be source from SNOWFLAKE_PRIVATE_KEY_PATH environment variable.
  • snowflake:role - (optional) Snowflake role to use for operations. If left unset, default role for user will be used. Can come from the SNOWFLAKE_ROLE environment variable.

Reference

For further information, please visit the Snowflake provider docs or for detailed reference documentation, please visit the API docs.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pulumi_snowflake-2.1.0.tar.gz (868.8 kB view details)

Uploaded Source

Built Distribution

pulumi_snowflake-2.1.0-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file pulumi_snowflake-2.1.0.tar.gz.

File metadata

  • Download URL: pulumi_snowflake-2.1.0.tar.gz
  • Upload date:
  • Size: 868.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for pulumi_snowflake-2.1.0.tar.gz
Algorithm Hash digest
SHA256 e31c684c0f0a0519e84ffc25de6e43c78cbf41f53caf43566bc5b4d34781bad2
MD5 ec9bf620490c97ee995e1bd0ae88d721
BLAKE2b-256 12142f09114303249d72a046427f1e9029cf3a073523373f678b1ffeb95157f0

See more details on using hashes here.

File details

Details for the file pulumi_snowflake-2.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pulumi_snowflake-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52a1149b24781fed236b7deda06602737140fc942966d8b3e614b47b278654b4
MD5 b0c42744e8cfbf2aec259117e4b22090
BLAKE2b-256 b52c04b973fff3759732b7dd756428aae4c8a58bc80152804ff87fe1633ecbdf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page