Seeing this issue when running `pulumi up`: ``` ...
# multi-language-hackathon
g
Seeing this issue when running `pulumi up`:
Copy code
Type                              Name                   Plan       Info
 +   pulumi:pulumi:Stack               simple-test-apilambda  create     
     └─ pulumi:providers:awslambdaapi  default_0_0_1                     1 error
 
Diagnostics:
  pulumi:providers:awslambdaapi (default_0_0_1):
    error: no resource plugin 'awslambdaapi-v0.0.1' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource awslambdaapi v0.0.1`
Package written in typescript, built on Ubuntu. I have run these commands carefully:
Copy code
```bash
# Build and install the provider
make install_provider

# Regenerate SDKs
make generate

# Ensure the pulumi-provider-xyz script is on PATH
$ export PATH=$PATH:$PWD/bin

# Test Node.js SDK
$ make install_nodejs_sdk
$ cd examples/simple
$ yarn install
$ yarn link @pulumi/xyz
$ pulumi stack init test
$ pulumi config set aws:region us-east-1
$ pulumi up
```
Any ideas?
e
Is this your plugin that you wrote?
g
Yes
Well, it's the multi-lang component that I wrote
e
Aha. It’d be looking for an executable in $PATH
For example
Copy code
which pulumi-resource-aws
/Users/anton/.nix-profile/bin/pulumi-resource-aws
So I’m guessing
which pulumi-resource-awslambdaapi
?
These lines were supposed to take care of it:
Copy code
# Ensure the pulumi-provider-xyz script is on PATH
$ export PATH=$PATH:$PWD/bin
But it looks like they’re not working.
g
There's what I'm working with. I did run that command -- I'll take a look at the path and see if anything looks odd
In bin I have `pulumi-resource-aws-lambda-api
So, that name might not line up with what my package name should be, when I was setting some of those names I was uncertain
e
With dashes..
Right that sounds like it can be a problem.
I’ve checked out you code, trying it out
🙌 1
Name propagation is a menace
g
Where's the source of truth for the package name?
e
That’s the problem, it’s denormalized
Still working with your code, give me a sec. Trying to get the names consistent, if it works I’ll send a PR
👍 1
g
Alright, I'm going through and removing aws-lambda-api and replacing it with "lambdaapi", which is the package name in typescript
e
I unfortunately went the other way (-> “awslambdaapi”) but it gives you an idea of all the locations the name figures.
g
Thank you! I'll pull this down
e
Files under sdk/ are auto-edited by Make but the rest are hand-edited
g
Looks like it's working, TYVM!
❤️ 1