title: using terraform cloud with the google provider on github actions gives an error
body: <p>I'm trying to use terraform cloud with gcp.  To that end I have the following provider configuation</p>
  <pre><code>terraform {
    required_providers {
      google = {
        source  = &quot;hashicorp/google&quot;
        version = &quot;3.89.0&quot;
      }
    }
  }
  
  provider &quot;google&quot; {
    region  = local.region
    project = local.project
    credentials = 
  }
  </code></pre>
  <p>As per <a href="https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/provider_reference#credentials-1" rel="nofollow noreferrer">https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/provider_reference#credentials-1</a>, I have created the environment variable <code>GOOGLE_CREDENTIALS</code> and set the credential file that gets downloaded.</p>
  <p>Now when I try to run the workflow using github actions I get the following error</p>
  <p><a href="https://i.stack.imgur.com/5KjXS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5KjXS.png" alt="enter image description here" /></a></p>
  <p>This is what my gihub workflow file looks like</p>
  <pre><code>name: 'event profile api deploy pipeline'
  
  on:
    workflow_dispatch:
      branches:
      - main
    pull_request:
  
  jobs:
    terraform:
      name: 'Terraform-deploy'
      runs-on: ubuntu-latest
      environment: dev
  
      # Use the Bash shell regardless whether the GitHub Actions runner is ubuntu-latest, macos-latest, or windows-latest
      defaults:
        run:
          shell: bash
  
      steps:
      # Checkout the repository to the GitHub Actions runner
      - name: Checkout
        uses: actions/checkout@v2
  
      # Install the latest version of Terraform CLI and configure the Terraform CLI configuration file with a Terraform Cloud user API token
      - name: Setup Terraform
        uses: hashicorp/setup-terraform@v1
        with:
          cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}
  
      # Initialize a new or existing Terraform working directory by creating initial files, loading any remote state, downloading modules, etc.
      - name: Terraform Init
        working-directory: ./terraform
        run: terraform init
  
      # Checks that all Terraform configuration files adhere to a canonical format
      - name: Terraform Format
        working-directory: ./terraform
        run: terraform fmt -check
  
      # Generates an execution plan for Terraform
      - name: Terraform Plan
        working-directory: ./terraform
        run: terraform plan
  </code></pre>
  <p>Any idea what could be going wrong here ?</p>