I have some rather large images and building during preview really slows down preview and they build again during update. Locally it's not that big cause of caching, but it still takes extra needless time.
l
little-cartoon-10569
11/24/2020, 8:59 PM
I think it is. You could wrap the code in
pulumi.isDryRun()
?
b
busy-soccer-65968
11/25/2020, 5:40 PM
haha thx. that's what I did. Sadly then the preview shows Image
delete
as the diff. however I have noticed it doesn't actually delete. Just sucks explaining that it says delete but doesn't actually do anything to peers.
l
little-cartoon-10569
11/25/2020, 7:35 PM
Feature-request time. I've checked the source code, there is no flag or combination of properties that skips the build. You can skip the push, but even if you cache the stages, the
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.