mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 23:15:24 +02:00
pulumi-refresh: add page (#15814)
This commit is contained in:
parent
5f6cfca6d2
commit
9ead98f53c
1 changed files with 28 additions and 0 deletions
28
pages/common/pulumi-refresh.md
Normal file
28
pages/common/pulumi-refresh.md
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# pulumi refresh
|
||||||
|
|
||||||
|
> Refresh the resources in a stack.
|
||||||
|
> More information: <https://www.pulumi.com/docs/iac/cli/commands/pulumi_refresh/>.
|
||||||
|
|
||||||
|
- Compare the current stack's state with the state in the cloud provider and adopt any changes into the current stack:
|
||||||
|
|
||||||
|
`pulumi refresh`
|
||||||
|
|
||||||
|
- Refresh resources in the current stack and show the operation as a rich diff:
|
||||||
|
|
||||||
|
`pulumi refresh --diff`
|
||||||
|
|
||||||
|
- Refresh resources in the current stack and return an error if any changes occur during the refresh:
|
||||||
|
|
||||||
|
`pulumi refresh --expect-no-changes`
|
||||||
|
|
||||||
|
- Only show a preview of the refresh, but don't perform the refresh itself:
|
||||||
|
|
||||||
|
`pulumi refresh --preview-only`
|
||||||
|
|
||||||
|
- The name of the stack to operate on (defaults to the current stack):
|
||||||
|
|
||||||
|
`pulumi refresh --stack {{stack_name}}`
|
||||||
|
|
||||||
|
- Display help:
|
||||||
|
|
||||||
|
`pulumi refresh --help`
|
Loading…
Add table
Reference in a new issue