Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

up does not work when the user is in an org #223

@jkodroff

Description

@jkodroff

Describe the bug

The call to pulumi_config.get_pulumi_user() should return the same value as pulumi org get-default. For example, my default org is an organization called jkodrofftest. When I run ./pulumi/python/runner -d -p aws -s try-kic-reference-architecture up, it fails with the following message:

Diagnostics:
  pulumi:pulumi:Stack (aws-eks-try-kic-reference-architecture):
    aws pulumi-iac-workshop profile
    error: update failed

  pulumi:pulumi:StackReference (jkodroff/aws-vpc/try-kic-reference-architecture):
    error: unknown stack "jkodroff/aws-vpc/try-kic-reference-architecture"

Note that the stack should be jkodrofftest/aws-vpc/try-kic-reference-architecture.

In order to fix, use the output of pulumi org get-default. (Working on finding the SDK call in Python. It exists in nodejs, so not sure why I can't find the Python version.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions