https://github.com/datacoves/snowcap
Snowcap - Snowflake infrastructure-as-code. Provision Snowflake resources, Manage RBAC, users, roles, and grants.
https://github.com/datacoves/snowcap
Last synced: about 2 months ago
JSON representation
Snowcap - Snowflake infrastructure-as-code. Provision Snowflake resources, Manage RBAC, users, roles, and grants.
- Host: GitHub
- URL: https://github.com/datacoves/snowcap
- Owner: datacoves
- License: apache-2.0
- Created: 2025-03-09T15:16:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-03-27T00:05:52.000Z (3 months ago)
- Last Synced: 2026-03-27T10:09:23.229Z (3 months ago)
- Language: Python
- Homepage: https://datacoves.com
- Size: 3.91 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# `snowcap` - Snowflake infrastructure as code
[](https://pypi.org/project/snowcap/)
[](https://www.python.org/downloads/)
[](LICENSE)
## Brought to you by Datacoves
Snowcap helps you provision, deploy, and secure resources in Snowflake. Datacoves takes it further: a managed DataOps platform for dbt and Airflow where governance and best practices are built into every layer.
- **Private cloud or SaaS** – your data, your choice
- **Managed dbt + Airflow** – production-ready from day one
- **In-browser VS Code** – onboard developers in minutes
- **Bring your own tools** – integrates with your existing stack, no lock-in
- **AI-assisted development** – connect your organization's approved LLM (Anthropic, OpenAI, Azure, Gemini, and more)
- **Built-in governance** – CI/CD, guardrails, and best practices included
Snowcap is the power tools. Datacoves is the workshop.
[Explore the platform →](https://datacoves.com)
---
## Why Snowcap?
Snowcap replaces Terraform, Schemachange, or Permifrost with a single, purpose-built tool for Snowflake.
| Feature | Snowcap | Terraform | SnowDDL | Permifrost |
|---------|---------|-----------|---------|------------|
| Snowflake-native | ✅ | ❌ | ✅ | ✅ |
| No state file | ✅ | ❌ | ✅ | ✅ |
| YAML + Python | ✅ | HCL only | YAML only | YAML only |
| Speed | 50%+ faster | Baseline | Fast | Slow |
| 60+ resource types | ✅ | Most | Most | Grants only |
| Templating / loops | ✅ | ✅ | Limited | ❌ |
| Export existing resources | ✅ | Import only | ❌ | ❌ |
| Actively maintained | ✅ Datacoves | ✅ Snowflake | ⚠️ Single maintainer | ⚠️ Infrequent |
## Key Features
- **Declarative** — Generates the right SQL to make your config match your account
- **Comprehensive** — 60+ Snowflake resource types supported
- **Flexible** — Write configuration in YAML or Python
- **Fast** — 50%+ faster than Terraform and Permifrost
- **Migration-friendly** — Export existing resources with the CLI
## Quick Start
```sh
pip install snowcap
```
Create `snowcap.yml`:
```yaml
warehouses:
- name: analytics
warehouse_size: xsmall
auto_suspend: 60
```
Run:
```sh
# Set credentials
export SNOWFLAKE_ACCOUNT=my-account
export SNOWFLAKE_USER=my-user
export SNOWFLAKE_PASSWORD=my-password
export SNOWFLAKE_ROLE=SYSADMIN
# Preview changes
snowcap plan --config snowcap.yml
# Apply changes
snowcap apply --config snowcap.yml
```
## Documentation
Full documentation, examples, and resource reference at **[snowcap.datacoves.com](https://snowcap.datacoves.com)**
- [Getting Started](https://snowcap.datacoves.com/getting-started/)
- [Why Snowcap?](https://snowcap.datacoves.com/why-snowcap/)
## Background
Snowcap is a fork of [Titan Core](https://github.com/Titan-Systems/titan). The original project appeared unmaintained, so Datacoves forked it to continue active development, fix bugs, and add new features. We're grateful to the Titan Systems team for creating and open-sourcing the original project under the Apache 2.0 license.
## Support
- [Documentation](https://snowcap.datacoves.com)
- [GitHub Issues](https://github.com/datacoves/snowcap/issues)