Is there an equivalent of WorkspaceStack.GetAllCon...
# dotnet
g
Is there an equivalent of WorkspaceStack.GetAllConfigAsync that can be called from within a deployment without using automation api? I’d like to write a custom configuration provider backed by the pulumi configuration api or similar: https://learn.microsoft.com/en-us/dotnet/core/extensions/custom-configuration-provider
I think this is possible today using inline stacks and automation api, but I’d like to implement without those restrictions
e
Afraid nothings exposes this information currently. If your happy breaking protection modifiers with reflection you can look at the
Deployment.AllConfig
field. It's an
ImmutableDictionary<string, string>
with all the loaded config, filled in for both inline programs and standard ones.