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 theatlas_migration
and atlas_schema
resources respectively.Versioned Migrations
With versioned migrations, the user provides a series of migrations to apply to reach the desired state.
Declarative Migrations
With declarative migrations, the user defines the desired state of the database and Atlas applies the necessary statements.