.spacelift/config.yml
YAML file at the root of your repository. A single file is used to define settings for all stacks associated with its host Git repository, so the file structure looks like this:version
which in practice is currently ignored but may be useful in the future, stacks
containing a mapping of immutable stack id to the stack configuration block and stack_defaults
, containing the defaults common to all stacks using this source code repository. Note that corresponding stack-specific settings will override any stack defaults.Stacks
configuration blockbefore_
and after_
hooksbefore_init
after_init
before_plan
after_plan
before_apply
after_apply
before_perform
after_perform
before_destroy
after_destroy
environment
mapproject_root
settingrunner_image
settingterraform_version
setting