It might be as long as you pass --stack explicitly. There is an outstanding issue that this has issues when using the automation api (
https://github.com/pulumi/pulumi/issues/8186) which has comments suggesting this might also be a problem using the cli directly. Someone else might know for sure if the CLI is supposed to support this today.