Support a pseudo-org for StackReference and GetOrganization API on filestate #11390
Labels
area/backends
State storage (filestate/httpstate/etc.)
kind/enhancement
Improvements or new features
resolution/fixed
This issue was fixed
We have a number of features that now depend on detecting an organization and rendering it into a string. Among these, the get organization API in the SDKs and the StackReference resource.
The blocker here is deciding on how to handle the org or user name portion of the
$org/$project/$stack
string.Resolving this for filestate backend will enable more integration tests to run locally, a significant win for test velocity, and remove potential panics and special casing logic in user programs.
Pulumi YAML in particular needs a pseudo-org to ensure the "organization" API does not panic, as we lack conditionals or the ability to branch on an optional value.
The text was updated successfully, but these errors were encountered: