important-sugar-987706/02/2023, 7:58 AM
if both users working on a repo containing the .pulumi folder use the same version of pulumi (3.63.0).
user A created and pushed to the repo and can deploy and view resources just fine.
user B cloned the repo and gets the above error whenever trying to interact with any stack.
i have no idea where a legacy stack file could could be coming from.
warning: Found legacy stack files in state store:
Please run 'pulumi state upgrade' to migrate them to the new format.
Set PULUMI_SELF_MANAGED_STATE_NO_LEGACY_WARNING=1 to disable this warning.
echoing-dinner-1953106/02/2023, 8:26 AM
important-sugar-987706/02/2023, 8:29 AM
echoing-dinner-1953106/05/2023, 10:06 AM
You can turn off that default upgrade with
but any existing backend already in project mode will stay in project mode.
Old versions of pulumi won't understand project mode, some more recent ones understand it well enough to error that it's unrecognized but very old versions will just write old style non-project scoped files to the backend.
important-sugar-987706/05/2023, 10:10 AM
echoing-dinner-1953106/05/2023, 10:11 AM
important-sugar-987706/05/2023, 10:11 AM