Integrating Google Cloud using Terraform

Before you begin

  • Use Terraform v0.13 or later. To check your version of Terraform, enter: terraform --version

  • gcloud CLI must be installed on your workstation. Go here, to install gcloud CLI.

  • To verify that you fulfilled these prerequisites, at your terminal, run the command: gcloud version && terraform init && terraform --version

Procedure

  1. Create a directory for the Terraform file of your Google Cloud Platform project.

  2. At your gcloud CLI, run the command: gcloud config set project <PROJECT_NAME>

  3. In Firefly, go to the left pane and select Settings > Integrations.

  4. Select Add New > Google Cloud > Terraform.

  5. Copy the details created by the wizard, and paste them in the file.

  6. Run the terraform init command in the directory that contains the provided code.

  7. Run the terraform apply command.

Last updated