Acceptance test Error

I have written acceptance tests for my terraform plugin which is giving the following error,

    resource_user_test.go:17: Step 1/1 error: 
    Error: Failed to read module directory
    
    Module directory . does not exist or cannot be read.
    
testing_new.go:56: Error retrieving state, there may be dangling resources: 
    Error: Failed to read module directory
    
    Module directory . does not exist or cannot be read.

The resources is not getting fetched / created during the test. What I might be missing?

Thanks

What version of the plugin SDK are you using?

1 Like

terraform-plugin-sdk v2.4.2

Iā€™m a bit at a loss here. Opening an issue is probably the fastest way to get a resolution and will get the investigation and resolution of the issue into our normal work queue. Just make sure to fill out all the details in the issue template. :slight_smile: