LinuxCommandLibrary

pulumi-new

Create new Pulumi projects

TLDR

Choose a template interactively

$ pulumi new
copy

Create a project from a specific template (e.g azure-python)
$ pulumi new [provided-template]
copy

Create a project from a local file
$ pulumi new [path/to/templates/aws-typescript]
copy

Create a project from a Git repository
$ pulumi new [url]
copy

Use the specified secrets provider with the backend
$ pulumi new --secrets-provider=[passphrase]
copy

SYNOPSIS

pulumi new [template] [flags]

PARAMETERS

--allow-secrets
    Allow the use of secrets in the project.

--config-file
    Load configuration from the specified file.

--description
    The project's description; defaults to current directory name.

--dir
    Create new project in the specified directory.

--force
    Forces content to be created even if it may change or delete existing content.

--from-template