Skip to main content

The Atlas Terraform Provider

The Atlas Terraform Provider enables you to manage your database schema as part of your Infrastructure-as-Code workflows using Terraform. With the provider, you can define your desired schema state and apply it to your database using Terraform resources.

Quick Start

Get started with the Atlas Terraform Provider

Supported Workflows

Atlas supports versioned and declarative workflows. They are supported by the atlas_migration and atlas_schema resources respectively.
Versioned Migrations

Manage your schema changes through versioned migration files. Use the atlas migrate diff command to generate migrations, atlas migrate apply to apply them, and integrate Atlas into your CI/CD pipeline for safe, auditable deployments.

Guides