Skip to content

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

@ankitatdnv

Description

@ankitatdnv

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

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.

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