Skip to content

Some import test failures do not show step number #525

@gdavison

Description

@gdavison

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions