-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
terraspace new project infra --plugin azurerm --examples not working #188
Comments
Looks like terraspace_plugin_azurerm requires that
Guessing it's probably a missing development header library. Guessing that the ubuntu version on the Windows WSL2 is missing it. Unsure if installing the development header outside of opt will allow it to work. Am interested in Windows WSL2. Think going to provide docs with terraspace and Windows WSL2. Have seen more and more folks in other projects like Jets using WSL2. So hopefully that's a way for windows users to use terraspace. |
thanks @tongueroo, yes WSL2 is super popular lately for sure! this is the content of mkmf.log file:
|
@tongueroo looks like it works now! I had to run that in WSL2 on Ubuntu and it seems that it did the trick:
but I think I also installed terraspace using |
I just installed terraspace and terraform in Ubuntu WSL2. Everything is the latest version.
I used standalone installer for Terraspace as I did not want to install Ruby separately. Followed the steps here:
https://terraspace.cloud/docs/install/standalone/
If I run
I get this error below.
BUT
if I run demo for AWS or Google, all is fine! So these two commands below work perfectly fine for me:
LoadError: cannot load such file -- terraspace_plugin_azurerm
ERROR: Unable to require plugin terraspace_plugin_azurerm
Checklist
My Environment
Windows 10 with WSL2 Ubuntu, all most recent versions
ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x86_64-linux]
Detected Terrspace version: 1.0.0
Detected Terraform v1.1.3
The text was updated successfully, but these errors were encountered: