From 7d5c8646d26c48df62337fffde025233ba69a18a Mon Sep 17 00:00:00 2001 From: rjft <4700864+rjft@users.noreply.github.com> Date: Tue, 14 May 2024 08:58:15 -0400 Subject: [PATCH] Update configuring-cloud-provider.md (#268) Minor tweaks to GCP docs --- pages/reference/configuring-cloud-provider.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pages/reference/configuring-cloud-provider.md b/pages/reference/configuring-cloud-provider.md index 06040683..6525faf6 100644 --- a/pages/reference/configuring-cloud-provider.md +++ b/pages/reference/configuring-cloud-provider.md @@ -134,6 +134,19 @@ When deploying via GCP, you may run into a Terraform error around permissions. P - `owner` - `storage.admin` +You can fix this with the following CLI commands updating `PROJECT_ID` with your GCP Project ID and `USER_EMAIL` with your GCP service account ID +``` +> gcloud projects add-iam-policy-binding PROJECT_ID \ + --member=user:USER_EMAIL \ + --role=roles/owner +``` + +``` +> gcloud projects add-iam-policy-binding PROJECT_ID \ + --member=user:USER_EMAIL \ + --role=roles/storage.admin +``` + Follow [these steps](https://cloud.google.com/sdk/docs/authorizing#authorize_with_a_service_account) to authorize your GCloud CLI with a new or existing Service Account. {% /tab %}