pulumi/sdk/go/common/env
Fraser Waters 20e89176d9
filestate: Support opting into legacy layout
With project support added,
filestate will default to project-scoped stacks
for all newly initialized buckets.

This is desirable long-term, but for the initial release,
we'd like users to have an escape hatch to go back to the old layout
until they've had a change to migrate.

This adds the ability for users to opt-out of this feature
by setting an environment variable.

Note that this only applies to new buckets.
You cannot opt out of this feature for a bucket
that is already using project-scoped stacks.
2023-03-31 13:21:37 -07:00
..
env.go filestate: Support opting into legacy layout 2023-03-31 13:21:37 -07:00