🚩Getting started

System requirements

Hand-on example

It will take about 10 minutes.

1) Install SnowDDL.

pip install snowddl

2) Create a new Snowflake Trial Accountarrow-up-right or create a new account within your organizationarrow-up-right.

circle-exclamation

3) Generate private and public keyarrow-up-right for key-pair authentication of SnowDDL administrator user.

circle-info

It is still possible to use single-factor PASSWORD authentication for testing purpose, but it is NOT recommended due to updated Snowflake security guidelines:

https://www.snowflake.com/en/blog/blocking-single-factor-password-authentification/arrow-up-right

4) Create administration user for SnowDDL. Replace RSA_PUBLIC_KEY with contents of generated public key. It should look like a single line without header & footer and without line-breaks.

5) Apply first versionarrow-up-right of sample config (provided with SnowDDL installation). Replace <account_identifier> placeholder with Snowflake account identifierarrow-up-right. Replace <path_to_private_key> with path to private key file generated in step 3.

Check database SNOWDDL_DB in Snowflake account. Check list of warehouses and roles.

6) Apply second versionarrow-up-right of sample config (provided with SnowDDL installation).

Check logs. Some objects will be altered, some objects will be dropped.

7) Reset Snowflake account to the original state. All objects created earlier by SnowDDL will be dropped.

Congratulations!

Now you are ready to create your own config and start experimenting.

Last updated