pulumi-refresh
Refresh the resources in a stack. tldr-pages
On several platforms
Several platforms
Compare the current stack's state with the state in the cloud provider and adopt any changes into the current stack
pulumi refreshIdentifyRefresh resources in the current stack and show the operation as a rich diff
pulumi refresh --diffIdentifyRefresh resources in the current stack and return an error if any changes occur during the refresh
pulumi refresh --expect-no-changesIdentifyOnly show a preview of the refresh, but don't perform the refresh itself
pulumi refresh --preview-onlyIdentifySpecify the name of the stack to operate on (defaults to the current stack)
pulumi refresh --stack stack_nameIdentifyDisplay help
pulumi refresh --helpIdentify