hey people, I’m running into an issue with my sta...
# getting-started
a
hey people, I’m running into an issue with my stacks getting renamed when I move out and into another directory. when I’ve moved directories, the stack name appends a “organization/<pulumi.yaml name>“. Has anyone ever seen this or know what could be the cause?
l
If you're in a different directory, then you're viewing different projects, which have different stacks.
a
@little-cartoon-10569 thanks for your response. I am using .envrc file to authenticate into an aws s3 bucket which hosts the state so as long as I’m under that .envrc file, I will be able to see all stacks created under that state
l
Yes, but the "pointer" into that state is defined by the Pulumi.yaml file in the current directory (or as specified by command-line parameters). If you change directory, you're looking at a different project, which means different stacks.
a
Ok that makes sense. But for the issue I’m having, how could there be a “organization/<pulumi name>/” appended to the beginning of a stack name when I switch to a different directory? For ex. I’m in the apps/security folder and can see two stacks, “pulumi-security” and “organization/infra/pulumi-infra”. When I move back a directory and into the infra directory, for ex, I see the same two stacks listed with different names: “pulumi-infra” and “organization/security/pulumi-security”