fast-sandwich-30809
12/10/2025, 8:20 PMfast-sandwich-30809
12/10/2025, 8:24 PMpulumi refresh --preview-only and make a second PR comment to show drift
This could be confusing though; say someone adds a resource tag via the cloud console and we update the code to match - this should preview cleanly, but we would see a comment for adding the tag (from code) and a comment for deleting the tag (from the drift). Using pulumi stack export and pulumi login file://$(mktemp) could be more complex but is probably more robustfast-sandwich-30809
12/10/2025, 8:24 PMpulumi preview --refresh=preview-only to preview against the most up-to-date model of the cloud, without modifying the statefilefast-sandwich-30809
12/10/2025, 9:24 PMpulumi preview --refresh already doesn't edit the statefile? Is that true? I don't trust it 😅gorgeous-egg-16927
12/10/2025, 9:27 PMpulumi preview doesn’t modify state. It’s equivalent to running a pulumi up --refresh and then declining the update.