DCM Projects, managing Snowflake objects as code from inside Snowflake
Snowflake's DCM Projects reached general availability in August 2026. What declarative object management gives you, and where it is still in preview.
Code for this article
cloudcentrix-labs/snowflake-platform-foundationsA Snowflake account baseline as plain SQL: two-layer roles, warehouses per workload, a nightly dev clone, a DCM project and Cortex AI Gateway governance.
In CI. Lints the SQL with sqlfluff, apart from two files with newer syntax, and renders the DCM templates. That does not prove the scripts run.
Every Snowflake account ends up with the same question: who created this database, and is it supposed to look like that? The usual answers are Terraform, a migration tool, or a folder of SQL scripts that someone runs by hand. On 7 August 2026 Snowflake made its own answer generally available: DCM Projects.
What it is
A DCM project is a schema-level object that holds definition files. The files describe the target state of your databases, schemas, tables, tasks and other objects. Snowflake compares that target with what exists and works out the changes. You review the plan, then deploy it.
Definitions are SQL files that use DEFINE statements, and they are Jinja templates, so one definition can stamp out the same structure for several teams or environments:
{% for team_name in teams %}
DEFINE DATABASE {{team_name}}_DB;
GRANT OWNERSHIP ON DATABASE {{team_name}}_DB TO ROLE {{team_name}}_ADMIN;
{% endfor %}
You then ask Snowflake what it would change, passing the template variables in:
EXECUTE DCM PROJECT FINANCE_INFRA PLAN
USING (teams => ['Finance', 'HR', 'Engineering'], wh_size => 'MEDIUM');
The plan is the important part. Nothing is applied until you have seen the changeset and run the deploy step.
Why it matters
- Declarative, not a migration log. You describe the end state. There is no chain of numbered scripts to replay in order.
- Nothing extra to host. Definition files can live in a Workspace, a Git repository or a local directory, and the project runs through Snowsight, the Snowflake CLI or plain SQL.
- Cheap to run. Snowflake states there are no DCM-specific charges. Plan and deploy are metadata operations billed as cloud services compute, and an X-Small warehouse is enough.
Where to be careful
This is a first general release, and the documentation is open about the edges:
- Some definitions are still in preview. At general availability that included
DEFINE PIPE,DEFINE STREAM, masking and row access policies, tag attachment, and the GitHub Actions integration. For preview object types Snowflake does not guarantee the changeset is complete. - One project per target environment. Plan your dev, test and production projects up front.
- Size limits. A project can hold up to 10,000 defined entities, grants or attachments, and planning a project with more than 1,000 entities can take ten minutes or longer.
- Keep credentials out of template variables. They are templating inputs, not a secret store.
- Ownership. If another role owns an object, the project owner role must hold that role. Sort out the role hierarchy before adopting existing objects.
DCM Projects or Terraform?
For teams already running Terraform across AWS and Snowflake, there is no rush to move. One tool and one state model across the whole platform is worth a lot. DCM Projects is the stronger fit when Snowflake is the only thing being managed, when the data team owns its objects and does not want a separate toolchain, or when the plan needs to run under Snowflake's own access control.
The sensible first step is small: put one non-production database under a DCM project, run plan against it daily, and see how often reality has drifted from the definition.
