rapid-raincoat-36492
10/06/2021, 10:30 PMawait stack.setAllConfig({
'aws:region': { value: 'eu-west-1' },
});
I see that a Pulumi.<stack-id>.yaml
file is created. Is there a way to supply config where no file gets created?millions-furniture-75402
10/07/2021, 1:13 PMPulumi..yaml
. You can try passing an explicit workDir
in the options, e.g. /tmp
https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/automation/#LocalWorkspaceOptions-workDir
Which, tracing through the code from setAllConfig
the answer seems to be because the automation api is simply wrapping the pulumi cli https://github.com/pulumi/pulumi/blob/72d48f162e7d6f288a5c5e5944ec90ce483824a5/sdk/nodejs/automation/cmd.ts#L55
https://github.com/pulumi/pulumi/blob/72d48f162e7d6f288a5c5e5944ec90ce483824a5/sdk/nodejs/automation/localWorkspace.ts#L416-L424rapid-raincoat-36492
10/07/2021, 2:22 PM