Skip to content

Error when reading or editing GCS service account not found #24

@natea

Description

@natea

When I try to run the Terraform command terraform -chdir=terraform apply -auto-approve, the following errors occur:

│ Error: Error when reading or editing Project "616355888868": Get "https://cloudresourcemanager.googleapis.com/v1/projects/616355888868?alt=json&prettyPrint=false": oauth2: cannot fetch token: 400 Bad Request
│ Response: {
│   "error": "invalid_grant",
│   "error_description": "Bad Request"
│ }
│
│   with module.pdf_redactor.data.google_project.project,
│   on pdf-redactor/workflow-trigger.tf line 33, in data "google_project" "project":
│   33: data "google_project" "project" {
│
╵
╷
│ Error: Error when reading or editing GCS service account not found: Get "https://storage.googleapis.com/storage/v1/projects/616355888868/serviceAccount?alt=json&prettyPrint=false": oauth2: cannot fetch token: 400 Bad Request
│ Response: {
│   "error": "invalid_grant",
│   "error_description": "Bad Request"
│ }
│
│   with module.pdf_redactor.data.google_storage_project_service_account.gcs_account,
│   on pdf-redactor/workflow-trigger.tf line 35, in data "google_storage_project_service_account" "gcs_account":
│   35: data "google_storage_project_service_account" "gcs_account" {
│
╵

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions