-
Notifications
You must be signed in to change notification settings - Fork 164
Closed
Description
If we think about it, stacker configs are just a dependency tree (a DAG to be exact), where stacks depend on other stacks. It would be useful if you had the ability to start provisioning from an explicit root.
For example, say I have the following stacker config:
stacks:
- name: vpc
- name: bastion
parameters:
VpcId: vpc::Id
- name: db
parameters:
VpcId: vpc::Id
- name: api
parameters:
DatabaseUrl: db::UrlIt would be handy to be able to specify the starting point for provisioning, like:
$ stacker build --root api
api -> db -> vpc$ stacker build --root bastion
bastion -> vpcI think this would be more powerful than the current --stacks flag, since that currently doesn't respect dependencies.