w

    witty-vegetable-61961

    5 months ago
    Need a memory refresher, but wen I create a stack, do a create the yaml file manually in my project?
    a

    agreeable-eye-87399

    5 months ago
    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

    5 months ago
    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

    5 months ago
    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

    5 months ago
    ah yes! awesome, i better remember this! in fact i think i asked this before! thanks guys!
    m

    miniature-musician-31262

    5 months ago
    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

    5 months ago
    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?