You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you @eguerlain for submitting this issue! We will be taking a look into this. We do have an updated guide available for Stack Outputs and References if you'd like to check that out in the meantime.
When creating reference to the stack of
my_first_app
, thestackRef
variable is built with a kebab-cased project name (my-first-app
):However, this project was created with a snake_cased name in Creating a Pulumi Project. (
mkdir my_first_app
)This leads to the following error when running
pulumi up
for themy-second-app-staging
stack:Type Name Plan Info + pulumi:pulumi:Stack my-second-app-staging create 1 error └─ pulumi:pulumi:StackReference etigrln95/my-first-app/staging 1 error Diagnostics: pulumi:pulumi:Stack (my-second-app-staging): error: preview failed pulumi:pulumi:StackReference (etigrln95/my-first-app/staging): error: Preview failed: unknown stack "etigrln95/my-first-app/staging"
Using snake_cased project name works correctly:
I suggest using kebab-cased name when creating the
my-first-app
directory in the first tutorial to keep a consistant naming.The text was updated successfully, but these errors were encountered: