StackInput

Arguments used to create and update an individual Stack.
  • administrative
    Administrative stacks can manage other Stacks at runtime.
  • autodeploy
    When set to true, stack will automatically deploy successful plans to tracked branches.
  • autoretry
    When set to true, stack will automatically retry invalidated Pull Request Runs.
  • afterApply
    Optional list of after-apply scripts.
  • beforeApply
    Optional list of before-apply scripts.
  • afterInit
    Optional list of after-init scripts.
  • beforeInit
    Optional list of before-init scripts.
  • afterPlan
    Optional list of after-plan scripts.
  • beforePlan
    Optional list of before-plan scripts.
  • afterPerform
    Optional list of after-perform scripts.
  • beforePerform
    Optional list of before-perform scripts.
  • afterDestroy
    Optional list of after-destroy scripts.
  • afterRun
    Optional list of after-run scripts.
  • beforeDestroy
    Optional list of before-destroy scripts.
  • branch
    Name of the branch to track.
  • description
    Optional free-form description of the Stack.
  • githubActionDeploy
    When set to true, the "Deploy" action will be enabled on GitHub Checks Run (default: true).
  • isDisabled
    When set to true, the stack will not be able to create runs.
  • labels
    Optional list of Stack labels.
  • localPreviewEnabled
    Whether triggering local workspace based Runs on this Stack is enabled
  • Human-friendly, mutable stack name.
  • namespace
    Namespace is the optional namespace which the repository belongs to. If not provided, the name of the linked GitHub account is used.
  • projectRoot
    Project root is the optional directory relative to the workspace root containing the entrypoint to the Stack.
  • gitSparseCheckoutPaths
    The list of paths that are used for sparse checkout, if any. If empty sparse checkout is not used - whole repository is checked out. Note: this field is only used if git checkout is enabled. See https://docs.spacelift.io/concepts/stack/stack-settings#labels
  • additionalProjectGlobs
    AdditionalProjectGlobs is a list of globs that when changed trigger a run. It similar to ProjectRoot but instead of being a concrete path it is a a list of paths defined using the glob pattern.
  • protectFromDeletion
    Indicates whether deletion protection is currently "on" for the stack.
  • repository
    Name of the repository to track.
  • repositoryURL
    Optional URL of the repository to track.
  • runnerImage
    Optional runner image used to process the Run.
  • space
    ID of the Space this Stack should be in.
  • terraformVersion
    Terraform version to use. NOTE: this takes precedence over vendorConfig.terraformVersion
  • vcsIntegrationId
    The ID of the VCS integration used by this stack. This should only be provided if the default (account-level) integration is not being used (i.e. a space-level integration is being used).
  • workerPool
    ID of the worker pool for the Stack to use.
  • enableWellKnownSecretMasking
    Indicates whether the masking for secret is enabled for this stack.
  • enableSensitiveOutputUpload
    Indicates whether runs on the stack will attempt to upload sensitive output potentially needed for stack dependencies