Quickstart guide
Installing Terrateam is a straightforward process. By following these three easy steps, you’ll have Terrateam up and running in your GitHub repository in no time.
Steps
-
Install the Terrateam GitHub application
$299/mo unlimited. 30-day free trial. No credit card required.
Select any of your GitHub organizations and repositories that contain Terraform code.
-
Add the Terrateam GitHub Actions workflow file
The Terrateam GitHub Actions workflow file
.github/workflows/terrateam.yml
must be stored in thedefault branch
of your Terraform repository. Thedefault branch
is usually namedmain
ormaster
. -
Start using Terrateam
If you want to see how Terrateam works without connecting to your cloud provider, continue reading to deploy a simple
null_resource
. Otherwise, jump to cloud providers.
Your first Terrateam deployment
-
Terraform plan and apply
We will now trigger our first Terrateam deployment by creating a simple pull request with a
null_resource
. Thenull_resource
provider does not take any action against live environments making it completely safe for our first deployment.New branch
Create a new branch against a repository with Terrateam installed.
Add Terraform code
Create a new file called
main.tf
in any directory in the repository. Download the code here.Pull request
Commit and push
main.tf
to your branch and then create a pull request.Terraform plan
Terrateam will automatically trigger a
terraform plan
.Terraform apply
Comment
terrateam apply
on the pull request. Terrateam will trigger aterraform apply
.Merge
Merge the pull request.
Alternative workflow: autoapply after merge Learn how to autoapply your changes after merging a pull request.
Bravo!
You’ve just completed your first Terrateam deployment.
Learn more
See cloud providers to learn how to integrate Terrateam against AWS, GCP, Azure, and more.