Arguments used to create and update an individual Stack.
- administrativeAdministrative stacks can manage other Stacks at runtime.
- autodeployWhen set to true, stack will automatically deploy successful plans to tracked branches.
- autoretryWhen set to true, stack will automatically retry invalidated Pull Request Runs.
- afterApplyOptional list of after-apply scripts.
- beforeApplyOptional list of before-apply scripts.
- afterInitOptional list of after-init scripts.
- beforeInitOptional list of before-init scripts.
- afterPlanOptional list of after-plan scripts.
- beforePlanOptional list of before-plan scripts.
- afterPerformOptional list of after-perform scripts.
- beforePerformOptional list of before-perform scripts.
- afterDestroyOptional list of after-destroy scripts.
- afterRunOptional list of after-run scripts.
- beforeDestroyOptional list of before-destroy scripts.
- branchName of the branch to track.
- descriptionOptional free-form description of the Stack.
- githubActionDeployWhen set to true, the "Deploy" action will be enabled on GitHub Checks Run (default: true).
- isDisabledWhen set to true, the stack will not be able to create runs.
- labelsOptional list of Stack labels.
- localPreviewEnabledWhether triggering local workspace based Runs on this Stack is enabled
- nameHuman-friendly, mutable stack name.
- namespaceNamespace is the optional namespace which the repository belongs to. If not provided, the name of the linked GitHub account is used.
- projectRootProject root is the optional directory relative to the workspace root containing the entrypoint to the Stack.
- gitSparseCheckoutPathsThe 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
- additionalProjectGlobsAdditionalProjectGlobs 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.
- protectFromDeletionIndicates whether deletion protection is currently "on" for the stack.
- providerVCSProviderProvider is the optional VCS provider that provides access to the Git repository linked to the Stack.
- repositoryName of the repository to track.
- repositoryURLOptional URL of the repository to track.
- runnerImageOptional runner image used to process the Run.
- spaceID of the Space this Stack should be in.
- terraformVersionTerraform version to use. NOTE: this takes precedence over vendorConfig.terraformVersion
- vcsIntegrationIdThe 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).
- vendorConfigStackConfigVendorInputStack configuration which is specific to the vendor used.
- workerPoolID of the worker pool for the Stack to use.
- enableWellKnownSecretMaskingIndicates whether the masking for secret is enabled for this stack.
- enableSensitiveOutputUploadIndicates whether runs on the stack will attempt to upload sensitive output potentially needed for stack dependencies