Skip to main content
  1. Docs
  2. Reference
  3. REST API Docs
  4. Schema
  5. AppCreateStackRequest

AppCreateStackRequest

    CreateStackRequest defines the request body for creating a new Stack

    Properties

    • stackName string required
      The name of the stack being created.
    • tags map[string]string optional
      An optional set of tags to apply to the stack.
    • teams array[string] optional
      An optional set of teams to assign to the stack.
    • state AppUntypedDeployment optional
      An optional state to initialize the stack with.
    • version integer optional
      The schema version of the encoded deployment.
    • features array[string] optional
      An optional list of features used by this deployment. The CLI will error when reading a deployment that uses a feature that is not supported by that version of the CLI. Only honored when version is 4 or greater.
    • deployment object optional
      The opaque Pulumi deployment payload. Treated as a raw JSON value so the contents are preserved verbatim across client and server versions.
    • config AppStackConfig optional
      The configuration for the new stack.
    • environment string required
      Reference to ESC environment to use as stack configuration.
    • secretsProvider string optional
      Deprecated: this field is no longer used by the service. Stacks that use a service-backed configuration store all config (including secrets) in ESC, which uses its own encryption. New callers should omit this field.
    • encryptedKey string optional
      Deprecated: this field is no longer used by the service. Stacks that use a service-backed configuration store all config (including secrets) in ESC, which uses its own encryption. New callers should omit this field.
    • encryptionSalt string optional
      Deprecated: this field is no longer used by the service. Stacks that use a service-backed configuration store all config (including secrets) in ESC, which uses its own encryption. New callers should omit this field.