pulumi / pulumi-dotnet

.NET support for Pulumi
Apache License 2.0
25 stars 21 forks source link

Support for `--refresh` when doing Update/Preview in the automation api #327

Open zlepper opened 3 weeks ago

zlepper commented 3 weeks ago

Hello!

Issue details

Currently when calling Stack.(Up|Preview)Async it is not possible to specify the --refresh flag. We get around that by calling RefreshAsync before the actual calls, however it is a bit clunky and slows down execution due to 2 tasks having to be done against pulumi every time we want to do an update.

Affected area/feature

Automation API.

justinvp commented 3 weeks ago

Thanks for the suggestion!