hashicorp / hashicorp/setup-terraform

Run on self-hosted runner with GCS backend

Open
#62 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
1.6k
Forks
288
Avg merge
23h 21m
Merged PRs (30d)
3

Description

I use a self-hosted Github Actions runner on a VM in GCP that is authorized to my GCS storage backend by its service account. This allows me to run terraform on the VM without providing credentials to access the bucket.

I would like to use the `setup-terraform` step in Github Actions to set up terraform and the wrapper (so the plan can be commented in the PR). I just use:

```
steps:
- uses: hashicorp/setup-terraform@v1
```

This results in an error:

`Error: (s || "").replace is not a function`

I think this is solved when providing specific environment variables with credentials, but I don't want to provide credentials (they should not be needed).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.