Hi, I think I need some clarification/guidance on ...
# general
w
Hi, I think I need some clarification/guidance on stack selection. We do have pulumi in CI/CD running for a while now, and are doing pulumi stack select and pulumi up in different commands similar to https://www.pulumi.com/docs/iac/using-pulumi/continuous-delivery/gitlab-ci/ - but somewhere between pulumi 3.154 and 3.171 the stack selection ceased to be persistent. I can reproduce it with local docker containers and stack select then stack ls and can see the stack in ~/.pulumi/workspaces/ Some LLM chat claimed deprecation and using stack parameters all over being the way to go, but references since vanished docs. What is the official situation here? Bug? Deprecation? Am I holding it wrong?
Just checked, the version working is even before 3.154.0, alas, 3.153.0 ist the latest one working, newer ones do not pick up the selected stack in a subsequent command in CLI.
Likely this: https://github.com/pulumi/pulumi/pull/18717/files as we basically did pulumi stack select $PULUMI_ORG/$PULUMI_STACK and PULUMI_STACK being set might be the culprit here (or not being set to the full stack name).