I am new to GCP and automation. I watched the webinar by Josh Kodroff on K8S deployment on GCP.
How can I ENABLE my gmail account (Which I used for registering to get a free tier account form GCP) for accessing GCP and a Project created there named k8s123 to perform k8s deployment using GCP and pulumi IaC ? Is there a step by step tutorial how to give access to one’s gmail address to perform Kubernetes deployment using Google cloud and Pulumi.
I am able to authenticate from my windows command prompt to gcloud auth and its authenticated.
But when I do. $ pulumi new & choose a template
kubernetes-gcp-typescript
Its went fine.. But when do
$ pulumi up
It fails with
Type Name Status Info
+ pulumi
pulumiStack k8s3-dev
creating failed 1 error
+ └─ gcp
computeNetwork gke-network
creating failed 1 error
Diagnostics:
gcp
computeNetwork (gke-network):
error: 1 error occurred:
* Error creating Network: googleapi: Error 403: Compute Engine API has not been used in project k8s123 before or it is disabled. Enable it by visiting
https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=k8s123 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
I CAN access my google cloud console (with my gmail id) and able to see the project k8s123 but how to proceed from there, what permissions need to allocated & how ? Any hints most appreciated.