https://pulumi.com logo
#general
Title
# general
r

refined-postman-10389

07/26/2022, 12:21 AM
Hey all, got a quick question. Say we run
pulumi preview
with
--target
flags. If a resource is not in the targets list and is not in the dependency path, will its state still be read? I know its state is not included in the CLI output but I'm wondering if it is read at all.
After scanning the code I see the state from the last snapshot is read but it's unclear if the resource state in the cloud provider is read
e

echoing-dinner-19531

07/26/2022, 7:09 AM
I mean even if it was targeted a preview doesn't read any cloud state by default
2 Views