mirror of https://github.com/pulumi/pulumi.git
ac1793b9d5
{cli, filestate}: Add 'state upgrade' command Adds a new `pulumi state upgrade` command that will upgrade the state for the current state storage to the latest version supported by that format *concurrently*. This is a no-op for httpstate, but for filestate, this will migrate from unversioned storage to the project-based versioned format. It includes a confirmation message, informing users that the state will be inaccessible from old CLIs after the upgrade. They must type 'yes' to accept this. A note on upgrade order: We attempt to create the new meta.yaml file before moving the stack files. This prevents us from leaving the bucket in an unreadable state if we don't have write permission for the meta.yaml. Extracted from #12134 |
||
---|---|---|
.. | ||
pending | ||
config.yaml |