Snowbird helps configure Snowflake resources for dataproducts.
Snowbird builds on Permifrost.
In addition to the capabilities provided by permifrost snowbird also enables declarative configuration of databases, schemas, warehouses and stages.
pip install snowbird@git+https://github.com/navikt/snowbird.git
The default declaration file name is 'snowflake.yml' and the default location of the file is ./infrastructure
In this case you can simply run the command: $ snowbird run.
Command
snowbird run
You can clone a database by running the commnad $ snowbird clone. The destination db will be replaced if it's already exists and refresh of dynamic tables will be suspended. Optionally give a role usage to the new database with --usage
Command
snowbird clone <source_db> <destination_db>
Options
--usage <role>
Example
snowbird clone my_db my_db_clone --usage supreme_leader