Need full control of what infrastructure gets deployed? Link your own Terraform repository to define all of your own infrastructure in AWS. Let Deplify handle managing the deployments of that infrastructure across multiple environments.

Getting Started

Deploying your terraform is easy, just follow the steps below.

1

Include an empty AWS provider in your Terraform repo.

provider "aws" {}

During deployment, Deplify will handle overriding this provider to point to an s3 bucket in your AWS account to maintain the state of the infrastructure. Builds will fail if you do not add this.

2

Create a Terraform Provider stack in Deplify

Note Deplify will handle running terraform init & terraform apply so do not add them in your build configuration. Deplify will always use the latest version of Terraform when deploying.

  • Hit the Add a Stack button in the environment view.
  • Choose the Terraform Provider blueprint.
  • If your project requires custom build commands, ensure you fill them in. In most cases, you can leave them empty.
  • Click Create Stack
3

All Done

Your project will begin deployment. Track the deployment in the dashboard.