GCP - Pre-requisites

Pre-requisites

  1. GCP Accountarrow-up-right with admin access to provision infrastructure. You will need a paid subscription to the GCP.

  2. Install GCloud CLIarrow-up-right - to authenticate & connect with GCP APIs.

  3. Install kubectlarrow-up-right (any version) on the local machine - it helps interact with the Kubernetes cluster.

  4. Install Helmarrow-up-right - helps package the services, configurations, environments, secrets, etc, into Kubernetes manifestsarrow-up-right. Verify that the installed version of Helm is equal to 3.0 or higher.

// command to check helm version
helm version
  1. Install terraformarrow-up-right - for the Infra-as-codearrow-up-right (IaC) to provision cloud resources. This provides the desired resource graph and helps destroy the cluster in one go.​

// On Linux
sudo apt-get update && sudo apt-get install -y gnupg software-properties-common
wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
sudo apt-get update && sudo apt-get install terraform
// On Mac
brew tap hashicorp/tap
brew install hashicorp/tap/terraform
  1. (Optional) Install tfswitcharrow-up-right - to run different versions of Terraform on the machine. tfswitcharrow-up-right supports multiple Terraform versions on the same machine, and you can toggle between the desired versions.

// On Mac
brew install warrensbox/tap/tfswitch

Run tfswitch, and it will show a list of Terraform versions. Scroll down and select the Terraform version (0.14.10).

  1. Install Golangarrow-up-right

  2. Install SOPSarrow-up-right -

  3. Install cURLarrow-up-right - for making API calls.

  4. Install Visual Studio Codearrow-up-right - for better code visualisation/editing capabilities.

  5. Install Postmanarrow-up-right - to run digit bootstrap scripts.

Last updated

Was this helpful?