icy-jordan-58549
02/10/2021, 4:18 PMThe Pulumi runtime detected that 50 promises were still active
at the time that the process exited. There are a few ways that this can occur:
* Not using `await` or `.then` on a Promise returned from a Pulumi API
* Introducing a cyclic dependency between two Pulumi Resources
* A bug in the Pulumi Runtime
Leaving promises active is probably not what you want. If you are unsure about
why you are seeing this message, re-run your program with the `PULUMI_DEBUG_PROMISE_LEAKS`
environment variable. The Pulumi runtime will then print out additional
debug information about the leaked promises.
pulumi up
(preview) modepulumi.runtime.isDryRun()
? new Promise(() => {}) : new Promise(async (resolve, reject) => ....)
watch
promise that helps me to do that.new Promise(() => {})
I got this issue with leak// Computed represents the absence of a property value, because it will be computed at some point in the future. It
// contains a property value which represents the underlying expected type of the eventual property value.