Closed pierskarsenbarg closed 8 months ago
Note that this isn't an "all wsl" issue because it runs fine on my wsl setup:
fraser@IBASA-PC:~/projects$ ~/.pulumi/plugins/resource-aws-apigateway-v1.0.1/pulumi-resource-aws-apigateway
36085
^C
fraser@IBASA-PC:~/projects$ file ~/.pulumi/plugins/resource-aws-apigateway-v1.0.1/pulumi-resource-aws-apigateway
/home/fraser/.pulumi/plugins/resource-aws-apigateway-v1.0.1/pulumi-resource-aws-apigateway: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped
fraser@IBASA-PC:~/projects$ uname -a
Linux IBASA-PC 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Side note from Slack thread: The aws
plugin does work for the user. Could this be a vercel bug for aws-apigateway
?
I asked the user to do two things:
Download resource from GitHub and run that:
Follow these steps:
rm ~/my-serverless-app
pulumi plugin rm resource aws-apigateway
mkdir ~/my-serverless-app
cd ~/my-serverless-app
pulumi new serverless-aws-typescript
pulumi preview
Didn't fix the issue
Also, user is using WSLv1 s we've advised to update to v2
There are quite a few known issues with WSL v1 - exec formats being very high on the list of common issues. We can certainly look into this, but WSL v2 is the current supported version.
Just so this is public, the customer updated to WSL v2 and it worked. Not sure if this ticket should be closed or not with that knowledge?
Closing as the guidelines should be "update to v2 of WSL"
What happened?
Failing with this error:
when running the provider binary (so
./pulumi-resource-aws-apigateway
) user gets this response:file ./pulumi-resource-aws-apigateway
gives the following response:Expected Behavior
pulumi up
works and is able to find the provider.Steps to reproduce
Can't reproduce at the moment.
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).