Hello! We got a strange issue here, we were deploying our infra with MSI, and backend storage is an Azure storage blob. All the state files are created and saved in the .pulumi/stacks folder, very flat. Now, we moved to deploy with OIDC, for some reason, the state file is now created by Pulumi up to .pulumi/stacks/[Name value in Pulumi.yaml] folder. Does anyone know if this is an intended feature for OIDC authenticated deployment?
@echoing-dinner-19531 do you have any comments on this issue please?
06/16/2023, 10:38 AM
This is expected. See the blog post about it. If you want to turn this off clear the state store completely and set the environment variable PULUMI_SELF_MANAGED_STATE_LEGACY_LAYOUT=true