Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 815 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 815 Bytes

Configuring Cloud Build to use Static External IP Addresses

High Level Overview

Diagram

Provisioning Infrastructures

Make sure you have Terraform and gcloud CLI installed on your machine and authenticated to your Google Cloud Project.

Then Populate variables inside variables.auto.tfvars and run:

terraform init
terraform validate
terraform plan -out tfplan
terraform apply "tfplan"

Running a sample Build

gcloud builds submit --no-source --config=build.yml

When this command finishes execution, You will see the IP address of the Proxy Server printed at the end which indicates that the outside world thinks Cloud Build Instances have that IP address.