hashicorp / hashicorp/terraform-plugin-testing

Some import test failures do not show step number

Open
#525 0 comments 0 reactions 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

```
github.com/hashicorp/terraform-plugin-testing v1.13.2
```

### Expected Behavior

A failed `ImportState` test step should output the step number in the error message

### Actual Behavior

If the `id` value is not found in the state, the following error message is displayed

> testing_new_import_state.go:326: Failed state verification, resource with ID tf-acc-test-3081637648281410872 not found

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.