follow this link to install Google cloud CLI https://cloud.google.com/sdk/docs/install
gcloud iam service-accounts create NAME [--description=DESCRIPTION] [--display-name=DISPLAY_NAME] [GCLOUD_WIDE_FLAG …]
gcloud iam service-accounts keys create key.json --iam-account=[email protected]
store credential in github secrets as GOOGLE_CREDENTIALS also define BASENAME and REGION change the PROJECT_ID and number in variable.tf or in GOOGLE_CREDENTIALS
gcloud storage buckets create gs://BUCKET_NAME
Make sure you have the necessary Cloud Storage permissions on your user account: storage.buckets.create storage.buckets.list storage.objects.get storage.objects.create storage.objects.delete storage.objects.update
Artifact Registry API Cloud Resource Manager API Identity and Access Management (IAM) API