hashicorp / hashicorp/terraform-plugin-testing

Error message when Terraform CLI cannot be loaded from sources does not list sources

Open
#133 3 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Go
Stars
68
Forks
22
Avg merge
2d 12h
Merged PRs (30d)
1

Description

### terraform-plugin-testing version

```
v1.2.0
```

### Expected Behavior

When the Terraform CLI cannot be found, an error message like

```
cannot run Terraform provider tests: failed to find or install Terraform CLI from [ ]: ...
```

should be returned.

### Actual Behavior

The error message was

```
cannot run Terraform provider tests: failed to find or install Terraform CLI from [0xc0018cba40 0xc005f65180]: ...
```

### Steps to Reproduce

Fail to locate the Terraform CLI when running tests, e.g. a network failure

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.