Linux command
pulumi 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Create new project
pulumi new [template]
Preview changes
pulumi preview
Deploy stack
pulumi up
Destroy resources
pulumi destroy
List stacks
pulumi stack ls
Select stack
pulumi stack select [stack-name]
Show stack outputs
pulumi stack output
说明
pulumi is an infrastructure as code tool supporting multiple programming languages. It manages cloud resources using TypeScript, Python, Go, C#, Java, and YAML. The tool provisions resources across AWS, Azure, GCP, Kubernetes, and many other providers using familiar programming constructs.
参数
- new
- Create new project.
- up
- Deploy changes.
- preview
- Preview changes.
- destroy
- Delete resources.
- stack
- Manage stacks.
- config
- Manage configuration.
- logs
- View logs.
- -s _stack_
- Target stack.
- -y, --yes
- Skip confirmations.
- --diff
- Show detailed diff.
FAQ
What is the pulumi command used for?
pulumi is an infrastructure as code tool supporting multiple programming languages. It manages cloud resources using TypeScript, Python, Go, C#, Java, and YAML. The tool provisions resources across AWS, Azure, GCP, Kubernetes, and many other providers using familiar programming constructs.
How do I run a basic pulumi example?
Run `pulumi new [template]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does new do in pulumi?
Create new project.