Skip to content

Latest commit

 

History

History
46 lines (38 loc) · 2.54 KB

setup_gcp.md

File metadata and controls

46 lines (38 loc) · 2.54 KB

Initial Setup

For this course, we'll use a free version (upto EUR 300 credits).

  1. Create an account with your Google email ID
  2. Setup your first project if you haven't already
    • eg. "CrimesMX", and note down the "Project ID" (we'll use this later when deploying infra with TF)
  3. Setup service account & authentication for this project

Setup for Access

  1. IAM Roles for Service account:
  2. Please ensure GOOGLE_APPLICATION_CREDENTIALS env-var is set.
  3. Download SDK for local setup
  4. Set environment variable to point to your downloaded GCP keys:
export GOOGLE_APPLICATION_CREDENTIALS="<path/to/your/service-account-authkeys>.json"

# Refresh token/session, and verify authentication
gcloud auth application-default login

Now you are able to work with terraform. Go to terraform directory to follow the next steps.