Terraform

Prerequisites

In order to deploy the infrastructure, you need to have a Google Cloud Platform account, and have the gcloud CLI installed. You will also need to setup the gcloud command to use the project you want to deploy to.

circle-info

You can use our home baked helper script to do this for you: ./scripts/gcloud_setup.sh

Multiple variables are required to deploy the infrastructure, you can either set them in the terraform.tfvars file or input them when prompted

Deploying

Launching terraform will create a new inventory file that wil be used by Ansible to provision the jenkins instance.

If you made any changes to the terraform files, you can apply them by running:

Last updated