https://pulumi.com logo
#general
Title
# general
m

microscopic-leather-56255

03/05/2024, 12:00 PM
Hello 👋 , I was experimenting with pulumi in typescript and I have tried to create a GKE cluster in GCP cloud and It works perfectly but when I try to create more than one helm release(even if It's the exact same release or a fully different one) It fails with the error shown below, anyone knows which may be the issue?:
Copy code
pulumi:pulumi:Stack (gke-cluster-prod):
    (node:37027) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
    (Use `node --trace-deprecation ...` to show where the warning was created)
    Promise leak detected:
    CONTEXT(707): rpcKeepAlive
    STACK_TRACE:
    Error:
        at Object.debuggablePromise ({absolute path to project}/pulumi-stacks/gcp/gke-cluster/node_modules/@pulumi/runtime/debuggable.ts:74:75)
        at Object.rpcKeepAlive ({absolute path to project}/pulumi-stacks/gcp/gke-cluster/node_modules/@pulumi/runtime/settings.ts:459:25)
        at {absolute path to project}/pulumi-stacks/gcp/gke-cluster/node_modules/@pulumi/runtime/resource.ts:622:30
        at Generator.next (<anonymous>)
        at {absolute path to project}/pulumi-stacks/gcp/gke-cluster/node_modules/@pulumi/pulumi/runtime/resource.js:21:71
        at new Promise (<anonymous>)
        at __awaiter ({absolute path to project}/pulumi-stacks/gcp/gke-cluster/node_modules/@pulumi/pulumi/runtime/resource.js:17:12)
        at prepareResource ({absolute path to project}/pulumi-stacks/gcp/gke-cluster/node_modules/@pulumi/pulumi/runtime/resource.js:434:12)
        at Object.registerResource ({absolute path to project}/pulumi-stacks/gcp/gke-cluster/node_modules/@pulumi/runtime/resource.ts:432:24)
        at new Resource ({absolute path to project}/pulumi-stacks/gcp/gke-cluster/node_modules/@pulumi/resource.ts:507:13)
    Promise leak detected:
    CONTEXT(708): resolveURN(resource:random[proy:gke:ExternalDnsGke])
    STACK_TRACE:
    Error:
        at Object.debuggablePromise ({absolute path to project}/pulumi-stacks/gcp/gke-cluster/node_modules/@pulumi/runtime/debuggable.ts:74:75)
        at /{absolute path to project}/pulumi-stacks/gcp/gke-cluster/node_modules/@pulumi/runtime/resource.ts:636:17
        at Generator.next (<anonymous>)
        at {absolute path to project}/pulumi-stacks/gcp/gke-cluster/node_modules/@pulumi/pulumi/runtime/resource.js:21:71
        at new Promise (<anonymous>)
        at __awaiter ({absolute path to project}/pulumi-stacks/gcp/gke-cluster/node_modules/@pulumi/pulumi/runtime/resource.js:17:12)
        at prepareResource ({absolute path to project}/pulumi-stacks/gcp/gke-cluster/node_modules/@pulumi/pulumi/runtime/resource.js:434:12)
        at Object.registerResource ({absolute path to project}/pulumi-stacks/gcp/gke-cluster/node_modules/@pulumi/runtime/resource.ts:432:24)
        at new Resource ({absolute path to project}/pulumi-stacks/gcp/gke-cluster/node_modules/@pulumi/resource.ts:507:13)
        at new ComponentResource ({absolute path to project}/pulumi-stacks/gcp/gke-cluster/node_modules/@pulumi/resource.ts:1011:9)
    Promise leak detected:
    CONTEXT(709): resolveURNIsKnown(resource:random[proy:gke:ExternalDnsGke])
    STACK_TRACE:
    Error:
        at Object.debuggablePromise ({absolute path to project}/pulumi-stacks/gcp/gke-cluster/node_modules/@pulumi/runtime/debuggable.ts:74:75)
        at {absolute path to project}/pulumi-stacks/gcp/gke-cluster/node_modules/@pulumi/runtime/resource.ts:643:17
        at Generator.next (<anonymous>)
        at {absolute path to project}/pulumi-stacks/gcp/gke-cluster/node_modules/@pulumi/pulumi/runtime/resource.js:21:71
        at new Promise (<anonymous>)
        at __awaiter ({absolute path to project}/pulumi-stacks/gcp/gke-cluster/node_modules/@pulumi/pulumi/runtime/resource.js:17:12)
        at prepareResource ({absolute path to project}/pulumi-stacks/gcp/gke-cluster/node_modules/@pulumi/pulumi/runtime/resource.js:434:12)
        at Object.registerResource ({absolute path to project}/pulumi-stacks/gcp/gke-cluster/node_modules/@pulumi/runtime/resource.ts:432:24)
        at new Resource ({absolute path to project}/pulumi-stacks/gcp/gke-cluster/node_modules/@pulumi/resource.ts:507:13)
        at new ComponentResource ({absolute path to project}/pulumi-stacks/gcp/gke-cluster/node_modules/@pulumi/resource.ts:1011:9)
I have an update over this topic, the helm installation is inside a componentResource and when I try to set the class that extends componentResource as the parent of the helm installation It shows me the previous error, so is this an issue or do I need to create this parent/child relationship between the componentResource and the helm installation in a different way?