ancient-eve-1394703/23/2022, 2:38 PM
error: Error serializing '() => provider': index.js(28,47) '() => provider': index.js(28,47): captured variable 'provider' which indirectly referenced function 'Provider': configuration.ts(21,0): which referenced function 'send': configuration.ts(60,8): which could not be serialized because Unexpected missing variable in closure environment: fetch
const fetch = await import(“node-fetch”)
ancient-eve-1394703/23/2022, 2:41 PM
ancient-eve-1394703/23/2022, 2:43 PM
ancient-eve-1394703/23/2022, 2:44 PM
error: Program run without the Pulumi engine available; re-run using the `pulumi` CLI
ancient-eve-1394703/23/2022, 3:01 PM
ancient-eve-1394703/23/2022, 3:11 PM
run to exclude that this was a temporary issue. It was not. So it feels like the error in the dynamic provider that leads to said message about not being run from the pulumi CLI might create follow-up issues.
as its first line, to see if the errors go away then.
method of the provider. UPDATE: the rabbitmq issue having gone away means that whatever this error with the `.send()`method, it leads to other issues, too.
ancient-eve-1394703/24/2022, 9:31 AM
ancient-eve-1394703/24/2022, 10:13 AM
thing makes sense, because providers aren’t stack aware, as the Pulumi program calls them over gRPC (Though dynamic providers are different, I believe the constraint is the same)
ancient-eve-1394703/24/2022, 10:52 AM
ancient-eve-1394703/24/2022, 10:53 AM
ancient-eve-1394703/24/2022, 10:54 AM
ancient-eve-1394703/24/2022, 10:55 AM