LinuxCommandLibrary

pulumi-refresh

Sync stack state with cloud resources

TLDR

Refresh state from cloud

$ pulumi refresh
copy
Refresh specific stack
$ pulumi refresh -s [stack]
copy
Refresh with auto-approval
$ pulumi refresh --yes
copy

SYNOPSIS

pulumi refresh [options]

DESCRIPTION

pulumi refresh updates stack state to match actual cloud resources. Detects drift between Pulumi state and real infrastructure. Run before updates when resources may have changed outside Pulumi.

PARAMETERS

-s, --stack name

Target stack.
-y, --yes
Skip confirmation.
--target urn
Refresh specific resources.
-p, --parallel n
Parallelism level.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community