https://pulumi.com logo
f

full-dress-10026

11/27/2019, 2:04 AM
Does Pulumi re-read your program between the preview and update steps?
w

white-balloon-205

11/27/2019, 2:17 AM
Yes - it does. To address what might be your follow up question- see https://github.com/pulumi/pulumi/issues/2318.
f

full-dress-10026

11/27/2019, 2:21 AM
Ok great. I ran a
pulumi up -y
and switched branches. The branch had quite old pulumi code which essentially caused almost everything in the stack to break. That fix seems extremely valuable.
w

white-balloon-205

11/27/2019, 2:52 AM
Agreed - this is an important feature to add. Thanks for adding details of your scenario to the issue - and sorry about the trouble this caused.
f

full-dress-10026

11/27/2019, 2:53 AM
Of course. Thanks for the quick responses!
Perhaps as a short term workaround pulumi could detect if the file has changed since the initial pulumi run and error if it has.
w

white-balloon-205

11/27/2019, 6:23 PM
That's a reasonable suggestion - mind adding a note to that issue to suggest this?
👍 1