I have a dotnet application that using Automation ...
# automation-api
m
I have a dotnet application that using Automation API to execute Local Program. I run it on my local windows machine it is fine, but I run it on a docker linux container, it throws error message. I can confirm that the folder exists with correct permission, and I can see Pulumi has added Pulumi.yaml file to this folder. Any help will be appreciated.
Copy code
"errorMessage": "An error occurred trying to start process 'pulumi' with working directory '/tmp/automation-33ihygga.ijh'. No such file or directory",
"exceptionType": "Win32Exception"

at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at CliWrap.Utils.ProcessEx.Start() in /home/runner/work/CliWrap/CliWrap/CliWrap/Utils/ProcessEx.cs:line 65
   at CliWrap.Command.ExecuteAsync(ProcessEx process, CancellationToken cancellationToken) in /home/runner/work/CliWrap/CliWrap/CliWrap/Command.cs:line 372
   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.LocalWorkspace.PopulatePulumiVersionAsync(CancellationToken cancellationToken)
   at Pulumi.Automation.LocalWorkspace.CreateStackHelperAsync(InlineProgramArgs args, Func`4 initFunc, CancellationToken cancellationToken)
w
You might want to see this thread in #dotnet which describes the same problem and it’s resolution. https://pulumi-community.slack.com/archives/CQ2QFLNFL/p1685418652641349 you’ll need to install the Pulumi CLI before you can use Automation API.