Hi - I am having some issues with the Pulumi autom...
# general
t
Hi - I am having some issues with the Pulumi automation API. I guess I'm not doing something right with the secrets provider but the error message is incomprehensible to me. The message is as follows. Not sure how I can start to debug this, any ideas?
error: getting secrets manager: invalid YAML file: could not unmarshal map: yaml: unmarshal errors:
`line 4: cannot unmarshal !!str
null
into config.Value` `at Pulumi.Automation.Commands.LocalPulumiCmd.RunAsyncInner(IList`1 args, String workingDir, IDictionary`2 additionalEnv, Action`1 onStandardOutput, Action`1 onStandardError, EventLogFile eventLogFile, CancellationToken cancellationToken)` `at Pulumi.Automation.Commands.LocalPulumiCmd.RunAsync(IList`1 args, String workingDir, IDictionary`2 additionalEnv, Action`1 onStandardOutput, Action`1 onStandardError, Action`1 onEngineEvent, CancellationToken cancellationToken)` `at Pulumi.Automation.Workspace.RunStackCommandAsync(String stackName, IList`1 args, Action`1 onStandardOutput, Action`1 onStandardError, Action`1 onEngineEvent, CancellationToken cancellationToken)` `at Pulumi.Automation.WorkspaceStack.RunCommandAsync(IList`1 args, Action`1 onStandardOutput, Action`1 onStandardError, Action`1 onEngineEvent, CancellationToken cancellationToken)`
at Pulumi.Automation.WorkspaceStack.RefreshAsync(RefreshOptions options, CancellationToken cancellationToken)
I'm setting the InlineProgramArgs like so
Hmm I think it's nothing to do with secrets provider, more that I've set somewhere a ConfigValue(null) which is accepted but blows up at a later point.