-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Binary testing: "No configuration files" #495
Comments
This works though when in an escalated shell, so that is the current workaround. |
With an escalated shell I still get an error about no configuration, let me reboot and I'll capture it here. |
Running as Administrator, in Developer Mode:
|
Hmm, it works on my machine with just a "Run as administrator" Powershell instance. Don't think I'm using the developer mode though maybe. |
OK, so after some fun debugging, we figured this one out. Probably. It looks like the root cause is hashicorp/terraform#25233 doesn't apply just to plan files, but also to the config directories if you pass them in manually. Which... we are. We confirmed this works in 0.13.0-beta2 and 0.13.0-beta3, which makes sense, as hashicorp/terraform#25233 was fixed in 0.13.0-beta2. I've also confirmed that this works in 0.12.26 and higher if we use a relative path when specifying the config directory, instead of an absolute path. Given that hashicorp/terraform#25233 is about specifying things by relative path, this seems to further point to it as the root of the issue. Given that we can fix this SDK-side without too much effort, I'm proposing we move this back into the 2.0.0 release and instead modify the SDK to use relative paths for the config files. I'll have a PR up for that shortly. |
Update to take advantage of the bugfix in terraform-plugin-test v1.4.4 that fixes #495.
Update to take advantage of the bugfix in terraform-plugin-test v1.4.4 that fixes #495.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Version: 2.0.0-rc.2
Example log on windows:
The text was updated successfully, but these errors were encountered: