From e60297717a8efd828bffd12d4cd7680961bf5fa4 Mon Sep 17 00:00:00 2001 From: Dennis Ploeger Date: Mon, 19 Jun 2023 09:44:51 +0200 Subject: [PATCH] docs: Added a note about terraform Requiring gcloud auth application-default login when using the browser based login --- README.md | 8 ++++---- feature/terraform/feature.yaml | 5 +++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ea631c6..ca1df96 100644 --- a/README.md +++ b/README.md @@ -554,6 +554,10 @@ Installs and configures [Terraform](https://terraform.io) than the default is used, the volume-target needs to be adapted to the same directory * Environment TERRAFORM_CREDENTIALS_PATH: Volume target for terraform credentials (optional). Defaults to `/terraform`. If something different than the default is used, the volume-target needs to be adapted to the same directory +* If you used the browser based login in gcloud, you'll probably need to authenticate using the application-default + login using the gcloud cli by running + + gcloud auth application-default login ### Terragrunt @@ -770,7 +774,3 @@ flowchart TD click F "https://github.com/dodevops/cloudcontrol/blob/develop/.github/workflows/test.yml" "Test workflow" click H "https://github.com/dodevops/cloudcontrol/blob/develop/.github/workflows/release.yml" "Release workflow" ```mermaid -github.com/dodevops/cloudcontrol/blob/develop/.github/workflows/release.yml" "Release workflow" -```mermaid -maid - diff --git a/feature/terraform/feature.yaml b/feature/terraform/feature.yaml index d5942cf..3ec5e9c 100644 --- a/feature/terraform/feature.yaml +++ b/feature/terraform/feature.yaml @@ -21,3 +21,8 @@ configuration: - | Environment TERRAFORM_CREDENTIALS_PATH: Volume target for terraform credentials (optional). Defaults to `/terraform`. If something different than the default is used, the volume-target needs to be adapted to the same directory + - | + If you used the browser based login in gcloud, you'll probably need to authenticate using the application-default + login using the gcloud cli by running + + gcloud auth application-default login