-
Notifications
You must be signed in to change notification settings - Fork 459
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
Windows: cdktf deploy - symlink not permitted #222
Comments
Thanks for your bug report. The symlink is for the Alternatively, we should think about fully leveraging Terraform provider caching to have a more robust way of handling this. This could be done by:
what do you think? /cc @anubhavmishra |
Getting rid of the symlink would also fix this issue #189 |
Since the current symlink approach for caching poviders has multiple drawbacks, this PR switches to the general plugin cache dir supported by Terraform directly. https://www.terraform.io/docs/commands/cli-config.html#provider-plugin-cache Fixes #189 Fixes #222
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've 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. |
Community Note
cdktf & Language Versions
cdktf version :
0.0.12-pre.4c00f2bafb17b79dcf2310a2a85a4ef9ed6518a1
TypeScript
Affected Resource(s)
All, Docker example
Debug Output
Expected Behavior
deploy should work without elevated (terminal opened as admin) rights
Actual Behavior
Deploy fails on permissions while trying to create symlink
Steps to Reproduce
Try to deploy Docker example with TypeScript on VS Code terminal (pwsh 7.0) from terminal that is not opened as admin
Other
I can't open my terminal as admin since it's not company policy to have terminals opened as admin. Make a workaround to copy files without symlink, like:
The text was updated successfully, but these errors were encountered: