Files
tldr/pages.zh/common/pulumi-new.md

24 lines
518 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# pulumi new
> 创建一个新的 Pulumi 项目。
> 更多信息:<https://www.pulumi.com/docs/iac/cli/commands/pulumi_new/>。
- 交互式选择模板:
`pulumi new`
- 从特定模板创建项目(例如 `azure-python`
`pulumi new {{提供的模板}}`
- 从本地文件创建项目:
`pulumi new {{path/to/templates/aws-typescript}}`
- 从 Git 仓库创建项目:
`pulumi new {{url}}`
- 使用指定的秘密提供程序与 <pulumi.com> 后端:
`pulumi new --secrets-provider={{passphrase}}`