Skip to content

Pulumi Preview/Up fails with EKS provider in Deployment Pipelines #1799

@minato7

Description

@minato7

Describe what happened

Hi,

We are experiencing issue during pulumi preview/up with usage of EKS provider in Azure Deployment Pipeline. This is not reproducible in local setup but only in the pipeline.

Any help to debug this issue would be appreciated. We tried different ways to preview but just fails with ToString error. Our usage is quite straightforward with a EKS cluster creation.

Sample program

Dotnet program with EKS provider and EKS cluster creation in Azure Deployment Pipeline. Tested this with multiple programs in different pipelines, same error message in all of them.

Log output

pulumi up --diff --non-interactive --yes --refresh=False 
Previewing update (sample):
  pulumi:pulumi:Stack: (sample)
error: eks:index:Cluster resource 'diagnostics-eks-cluster' has a problem: Calling [toString] on an [Output<T>] is not supported.

To get the value of an Output<T> as an Output<string> consider either:
1: o.apply(v => `prefix${v}suffix`)
2: pulumi.interpolate `prefix${v}suffix`

See https://www.pulumi.com/docs/concepts/inputs-outputs for more details.

Or use ESLint with https://github.com/pulumi/eslint-plugin-pulumi to warn or
error lint on using Output<T> in template literals.
error: Error: Calling [toString] on an [Output<T>] is not supported.

To get the value of an Output<T> as an Output<string> consider either:
1: o.apply(v => `prefix${v}suffix`)
2: pulumi.interpolate `prefix${v}suffix`

See https://www.pulumi.com/docs/concepts/inputs-outputs for more details.

Or use ESLint with https://github.com/pulumi/eslint-plugin-pulumi to warn or
error lint on using Output<T> in template literals.
    at Proxy.OutputImpl.toString (/snapshot/eks/node_modules/@pulumi/pulumi/output.js:85:23)
    at Array.join (<anonymous>)
    at Array.toString (<anonymous>)
    at Object.transferProperties (/snapshot/eks/node_modules/@pulumi/pulumi/runtime/rpc.js:95:89)
    at /snapshot/eks/node_modules/@pulumi/pulumi/runtime/resource.js:576:33
    at Generator.next (<anonymous>)
    at /snapshot/eks/node_modules/@pulumi/pulumi/runtime/resource.js:21:71
    at new Promise (<anonymous>)
    at __awaiter (/snapshot/eks/node_modules/@pulumi/pulumi/runtime/resource.js:17:12)
    at prepareResource (/snapshot/eks/node_modules/@pulumi/pulumi/runtime/resource.js:506:12)
error: Error: 14 UNAVAILABLE: No connection established. Last error: connect ECONNREFUSED 127.0.0.1:33029 (2025-06-17T10:56:22.085Z)
    at callErrorFromStatus (/snapshot/eks/node_modules/@grpc/grpc-js/src/call.ts:82:17)
    at Object.onReceiveStatus (/snapshot/eks/node_modules/@grpc/grpc-js/src/client.ts:360:55)
    at Object.onReceiveStatus (/snapshot/eks/node_modules/@grpc/grpc-js/src/client-interceptors.ts:458:34)
    at Object.onReceiveStatus (/snapshot/eks/node_modules/@grpc/grpc-js/src/client-interceptors.ts:419:48)
    at /snapshot/eks/node_modules/@grpc/grpc-js/src/resolving-call.ts:163:24

Affected Resource(s)

No response

Output of pulumi about

CLI
Version 3.177.0
Go Version go1.24.3
Go Compiler gc

Pulumi.Eks Version="3.9.1"

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting-feedbackBlocked on input from the authorkind/bugSome behavior is incorrect or out of specneeds-reproNeeds repro steps before it can be triaged or fixed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions