hashicorp / hashicorp/setup-terraform

Not possible to use Terraform wrapper with pwsh shell on windows based self-hosted runner

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

Description

Hi,

I am trying to use windows based self-hosted runners for terraform deployment, but when I use the terraform-wrapper: true, None of the Terraform commands get executed and give the following output:

![Image](https://github.com/user-attachments/assets/40b3c1ce-5fc1-4993-8b0b-840347072a4a)

However when I run it with terraform-wrapper: false, all Terraform commands works fine, but then I cannot use -detailed-exitcode, as with this plan fails due to non zero exit code.

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.