Skip to content

esc run fails with Error: file://~ does not support Pulumi ESC. #627

@jkodroff

Description

@jkodroff

What happened?

Any esc run (or pulumi env run, which is to be expected) command fails with the following message:

$  esc run pequod/shared-infra/k8s-cluster -- k9s
Error: file://~ does not support Pulumi ESC.

Tried it with OIDC only, and OIDC imported into an env that writes out a kubeconfig as a file - same result.

Based on my pulumi about output, it looks like the backend (and I have no idea why it's showing this way) is causing ESC to fail. Even if the configuration is invalid, it should not cause an error if I'm just trying to run a shell command.

Example

n/a

Output of pulumi about

CLI          
Version      3.227.0
Go Version   go1.26.1
Go Compiler  gc

Host     
OS       darwin
Version  26.3
Arch     arm64

Backend        
Name           Mac.lan
URL            file://~
User           jkodroff
Organizations  
Token type     personal

Environment Variables:
Name                 Value
PULUMI_ACCESS_TOKEN  <REDACTED_AND_YES_I_ROTATED_IT>

Pulumi locates its logs in /var/folders/5m/4n1x3f8151s35wc80w06z5k80000gn/T/ by default

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

    kind/bugSome behavior is incorrect or out of specneeds-triageNeeds attention from the triage team

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions