plain-quill-22197
03/30/2021, 1:24 PMdummy
as a name. I didn't have the Pulumi.yaml file as none of the automation API samples have it. I also was running samples and it worked. I also tried to add the yaml file with the project name matching, but I don't think the local workspace uses it at allbored-oyster-3147
03/30/2021, 2:00 PMWorkingDirectory
than the automation API will assume that directory already has pulumi YAML files in it and try to operate using those.
If you do not provide a WorkingDirectory
than the automation API creates a temp folder and generates a pulumi YAML in this temp directory that it will then be working out of until disposed.
If you pass any values into ProjectSettings
than those values will be serialized into the pulumi YAML file that it uses. If you pass any values in the StackSettings
collection than it will serialize each instance into a pulumi stack YAML file.
The issue you had with the project name sounds interesting - I am curious what the actual value of the project name was in your scenario. Like if you looked at the generated temp folder (you can find it by looking at the WorkingDirectory
property on the local workspace) and examined the project name that it had serialized into the YAML file, would the value be roomote-cal-sync
?