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
Create a directory for the Terraform file of your Google Cloud Platform project.
At your gcloud CLI, run the command:
gcloud config set project <PROJECT_NAME>
In Firefly, go to the left pane and select Settings > Integrations.
Select Add New > Google Cloud > Terraform.
Copy the details created by the wizard, and paste them in the file.
Run the
terraform init
command in the directory that contains the provided code.Run the
terraform apply
command.
Last updated