One of the things that we like the most with Cloud Providers is when you just give some lines of code and the rest of the story is not made by you.

Cloud Build, the serverless CI/CD product of Google Cloud is amazing, because it’s simple, smart and efficient.

Today I’m going to tell you :

  • How to use CloudBuild
  • How to secure your CloudBuild
  • Deploy a Cloud Function with CloudBuild
  • Call cURL from CloudBuild
  • Use Terraform in CloudBuild
  • Trigger a CloudBuild from everywhere
  • Trigger a CloudBuild from another CloudBuild
  • GCP IAM “Add Permissions” operation from CloudBuild

The trigger functionality of Cloud Build is easy to configure.

Here I have a Cloud Repository where my code is…


When your organization is growing quickly their use of public cloud, security should not be left as an afterthought.

One of the most important aspect is the ServiceAccount (we call it SA) and the keys that are attached to it.

The SA is not the problem here, as Google recommends replacing default SA’s with specific ones and separate them for each services used in GCP.

The biggest problem is the external KEY, we can call it exfiltration of data, we can have multiple people sharing the same key, let’s face it : it’s out of control !!!

Most of the…

Antoine Castex

GCP Patriot, 4x Certified ! https://twitter.com/_antoine_cas

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store