Linux command
pulumi-up 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Deploy stack
pulumi up
Deploy with auto-approval
pulumi up --yes
Deploy specific stack
pulumi up -s [stack]
Deploy with preview
pulumi up --diff
Deploy specific targets
pulumi up --target [urn]
说明
pulumi up creates or updates infrastructure. Compares desired state with current infrastructure and applies necessary changes. The primary command for deploying Pulumi programs.
参数
- -s, --stack _name_
- Target stack.
- -y, --yes
- Skip confirmation.
- --diff
- Show detailed diff.
- --target _urn_
- Update specific resources.
- --refresh
- Refresh before update.
- -p, --parallel _n_
- Parallelism level.
- --skip-preview
- Skip preview step.
- --replace _urn_
- Force replacement of resources.
- -f, --skip-preview
- Skip preview.
FAQ
What is the pulumi-up command used for?
pulumi up creates or updates infrastructure. Compares desired state with current infrastructure and applies necessary changes. The primary command for deploying Pulumi programs.
How do I run a basic pulumi-up example?
Run `pulumi up` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -s, --stack _name_ do in pulumi-up?
Target stack.