https://pulumi.com logo
Title
w

witty-vegetable-61961

04/21/2022, 10:34 PM
Need a memory refresher, but wen I create a stack, do a create the yaml file manually in my project?
a

agreeable-eye-87399

04/21/2022, 11:37 PM
pulumi stack init
will create the stack and the yaml file! https://www.pulumi.com/docs/reference/cli/pulumi_stack_init/
w

witty-vegetable-61961

04/21/2022, 11:50 PM
hmm pulumi stack init didnt make a yaml file for me? i do it in the dir of the vs solution and the stack name is gurdips1/prd
m

miniature-musician-31262

04/21/2022, 11:56 PM
I remember being tripped up on this myself! The stack-config file actually only gets created if thereโ€™s stack-config to be applied โ€” so if you run
pulumi config set
. Otherwise, no
Pulumi.stackname.yaml
will be created.
w

witty-vegetable-61961

04/21/2022, 11:56 PM
ah yes! awesome, i better remember this! in fact i think i asked this before! thanks guys!
๐Ÿ˜‚ 1
m

miniature-musician-31262

04/21/2022, 11:57 PM
Aha, and I even wrote a note about it in the docs: https://www.pulumi.com/docs/intro/concepts/stack/#create-stack
(That little โ€œnoteโ€ block, there.)
You bet, cheers
a

agreeable-eye-87399

04/22/2022, 12:28 AM
Oof. That's what I get for trying to help from my poor memory! I guess I needed the refresher too ๐Ÿ˜‚๐Ÿ˜‚
@miniature-musician-31262 do you think we should add a similar note to the page I linked?