page_title | subcategory | description |
---|---|---|
spacelift_stack Data Source - terraform-provider-spacelift |
spacelift_stack combines source code and configuration to create a runtime environment where resources are managed. In this way it's similar to a stack in AWS CloudFormation, or a project on generic CI/CD platforms. |
spacelift_stack
combines source code and configuration to create a runtime environment where resources are managed. In this way it's similar to a stack in AWS CloudFormation, or a project on generic CI/CD platforms.
data "spacelift_stack" "k8s-core" {
stack_id = "k8s-core"
}
stack_id
(String) ID (slug) of the stack
additional_project_globs
(Set of String) Project globs is an optional list of paths to track changes of in addition to the project root.after_apply
(List of String) List of after-apply scriptsafter_destroy
(List of String) List of after-destroy scriptsafter_init
(List of String) List of after-init scriptsafter_perform
(List of String) List of after-perform scriptsafter_plan
(List of String) List of after-plan scriptsafter_run
(List of String) List of after-run scriptsbefore_apply
(List of String) List of before-apply scriptsbefore_destroy
(List of String) List of before-destroy scriptsbefore_init
(List of String) List of before-init scriptsbefore_perform
(List of String) List of before-perform scriptsbefore_plan
(List of String) List of before-plan scripts
administrative
(Boolean) indicates whether this stack can administer othersansible
(List of Object) Ansible-specific configuration. Presence means this Stack is an Ansible Stack. (see below for nested schema)autodeploy
(Boolean) indicates whether changes to this stack can be automatically deployedautoretry
(Boolean) indicates whether obsolete proposed changes should automatically be retriedaws_assume_role_policy_statement
(String) AWS IAM assume role policy statement setting up trust relationshipazure_devops
(List of Object) Azure DevOps VCS settings (see below for nested schema)bitbucket_cloud
(List of Object) Bitbucket Cloud VCS settings (see below for nested schema)bitbucket_datacenter
(List of Object) Bitbucket Datacenter VCS settings (see below for nested schema)branch
(String) Repository branch to treat as the default 'main' branchcloudformation
(List of Object) CloudFormation-specific configuration. Presence means this Stack is a CloudFormation Stack. (see below for nested schema)description
(String) free-form stack description for usersenable_local_preview
(Boolean) Indicates whether local preview runs can be triggered on this Stack.enable_well_known_secret_masking
(Boolean) Indicates whether well-known secret masking is enabled.github_enterprise
(List of Object) GitHub Enterprise (self-hosted) VCS settings (see below for nested schema)gitlab
(List of Object) GitLab VCS settings (see below for nested schema)id
(String) The ID of this resource.kubernetes
(List of Object) Kubernetes-specific configuration. Presence means this Stack is a Kubernetes Stack. (see below for nested schema)labels
(Set of String)manage_state
(Boolean) Determines if Spacelift should manage state for this stackname
(String) Name of the stack - should be unique in one accountproject_root
(String) Project root is the optional directory relative to the workspace root containing the entrypoint to the Stack.protect_from_deletion
(Boolean) Protect this stack from accidental deletion. If set, attempts to delete this stack will fail.pulumi
(List of Object) Pulumi-specific configuration. Presence means this Stack is a Pulumi Stack. (see below for nested schema)raw_git
(List of Object) One-way VCS integration using a raw Git repository link (see below for nested schema)repository
(String) Name of the repository, without the owner partrunner_image
(String) Name of the Docker image used to process Runsshowcase
(List of Object) Showcase-related attributes (see below for nested schema)space_id
(String) ID (slug) of the space the stack is interraform_external_state_access
(Boolean) Indicates whether you can access the Stack state file from other stacks or outside of Spacelift.terraform_smart_sanitization
(Boolean) Indicates whether runs on this will use terraform's sensitive value system to sanitize the outputs of Terraform state and plans in spacelift instead of sanitizing all fields.terraform_version
(String) Terraform version to useterraform_workflow_tool
(String) Defines the tool that will be used to execute the workflow. This can be one ofOPEN_TOFU
,TERRAFORM_FOSS
orCUSTOM
.terraform_workspace
(String) Terraform workspace to selectterragrunt
(List of Object) Terragrunt-specific configuration. Presence means this Stack is a Terragrunt Stack. (see below for nested schema)worker_pool_id
(String) ID of the worker pool to use
Read-Only:
playbook
(String)
Read-Only:
id
(String)is_default
(Boolean)project
(String)
Read-Only:
id
(String)is_default
(Boolean)namespace
(String)
Read-Only:
id
(String)is_default
(Boolean)namespace
(String)
Read-Only:
entry_template_file
(String)region
(String)stack_name
(String)template_bucket
(String)
Read-Only:
id
(String)is_default
(Boolean)namespace
(String)
Read-Only:
id
(String)is_default
(Boolean)namespace
(String)
Read-Only:
kubectl_version
(String)namespace
(String)
Read-Only:
login_url
(String)stack_name
(String)
Read-Only:
namespace
(String)url
(String)
Read-Only:
namespace
(String)
Read-Only:
terraform_version
(String)terragrunt_version
(String)tool
(String)use_run_all
(Boolean)use_smart_sanitization
(Boolean)