Options (2)
-s, --stackbooleanThe name of the stack to operate on (defaults to the current stack)
Example:
pulumi refresh {{[-s|--stack]}} {{stack_name}}-h, --helpbooleanDisplay help
Example:
pulumi refresh {{[-h|--help]}}Examples (6)
Compare the current stack's state with the state in the cloud provider and adopt any changes into the current stack
Refresh resources in the current stack and show the operation as a rich diff
pulumi refresh --diffRefresh resources in the current stack and return an error if any changes occur during the refresh
pulumi refresh --expect-no-changesOnly show a preview of the refresh, but don't perform the refresh itself
pulumi refresh --preview-onlyThe name of the stack to operate on (defaults to the current stack)
pulumi refresh [-s|--stack] stack_nameDisplay help
pulumi refresh [-h|--help]made by @shridhargupta | data from tldr-pages