For this course, we'll use a free version (upto EUR 300 credits).
- Create an account with your Google email ID
- Setup your first project if you haven't already
- Setup service account & authentication for this project
- IAM Roles for Service account:
- Please ensure
GOOGLE_APPLICATION_CREDENTIALS
env-var is set.- Click on "Service Account", then click on "Create Service Account"
- Add these roles in addition to Viewer : Storage Admin + Storage Object Admin + BigQuery Admin
- Enable these APIs for your project:
- Click on you new service account and click on "Keys" tab.
- Click on "Add Key"
- Download service-account-keys (.json) for auth. This key will be used in TF and Mage IA (personal-gcp.json).
- Download SDK for local setup
- 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.