This message was deleted.
# general
s
This message was deleted.
b
which language sdk are you using?
m
node/ts
Somehow it is picking up the
"@pulumi/aws": "^3.12.1",
version, I just updated to that and now i see
Copy code
error: no resource plugin 'datadog-v3.12.1' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource datadog v3.12.1`
b
can you share your
package.json
?
m
Copy code
{
  "name": "system-api",
  "version": "1.0.0",
  "main": "index.js",
  "private": true,
  "dependencies": {
    "@pulumi/aws": "^3.12.1",
    "@pulumi/datadog": "^2.10.0",
    "@pulumi/pulumi": "^2.13.0"
  }
}
w
If you run
pulumi stack export
- do you have an entry that looks like
pulumi:providers:datadog::default_3_10_1
? I expect this is due to https://github.com/pulumi/pulumi/issues/5619. I'm guessing you are running this in CI or in a "new" environment that is different from where you ran previous updates? In the latter case, you would likely have the previously used plugin versions, but in either of the former cases you might not.
m
Nope, blank/empty stack
Copy code
❯ pulumi stack export
{
    "version": 3,
    "deployment": {
        "manifest": {
            "time": "2020-11-09T10:53:13.942586-07:00",
            "magic": "94592db9536de5e7104a9178d135d36c6df2f321f7c86cf30cb149dc72ed5a8a",
            "version": "v2.13.2"
        },
        "secrets_providers": {
            "type": "passphrase",
            "state": {
                "salt": "v1:OMiGD8tC8/k=:v1:fhPugw6vNhMEIu+A:GRS0zNhHxlwVDAy1f5ruwBMH2jwhwg=="
            }
        }
    }
}
This is a stack from an integration test.. the tests fail to
pulumi up
due to this
I'm seeing logs like this, but still no idea why it's using that version from the
aws
plugin
Copy code
I1111 16:31:53.430178   86964 source_eval.go:322] handling default provider request for package datadog-3.12.1
I1111 16:31:53.430220   86964 source_eval.go:289] newRegisterDefaultProviderEvent(datadog-3.12.1): using version 3.12.1 from request
This fixes itself if I just explicitly create a datadog provider somewhere up the parent stack i.e.
Copy code
}, {
      ...defaultOpts,
      providers: [new datadog.Provider('default', { validate: false })],
    });
but the ambient default one seems to pick up the version incorrectlyi
w
This is very strange. Do you have an isolated repo of this? The string
v3.10.1
must exist somewhere in your environment - do you have any idea where?
m
yeah it's the @pulumi/aws version.. it was picking up whatever that was set as
I don't have an isolated repo since I found a workaround unfortunately
I'll see if I can find some time to try to generate one