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