Organizations
CreateStack
Creates a new stack within a project in the organization. If the project does not exist, it will be created. A stack is an isolated, independently configurable instance of a Pulumi program, typically representing a deployment environment (e.g., development, staging, production). The stack name must be unique within the project.
The optional config object supports:
- environment: reference to an ESC environment for storing stack configuration (must not already exist)
- secretsProvider: the secrets provider for the stack
- encryptedKey: KMS-encrypted ciphertext for the data key (cloud-based secrets providers only)
- encryptionSalt: base64-encoded encryption salt (passphrase-based secrets providers only)
post/api/stacks/{orgName}/{projectName}
Request
- Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
- URL: https://api.pulumi.com/api/stacks/{orgName}/{projectName}
- Auth: none declared
Path parameters
orgNamestring required
The organization name
projectNamestring required
The project name
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.