Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jkodroff opened this issue Jan 10, 2023 · 0 comments
Open

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

jkodroff opened this issue Jan 10, 2023 · 0 comments

Comments

@jkodroff
Copy link

jkodroff commented Jan 10, 2023

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.)

@jkodroff jkodroff changed the title up does not work when the user is in n org up does not work when the user is in an org Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant