8000 Allow for sub-tree provisioning · Issue #186 · cloudtools/stacker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Allow for sub-tree provisioning #186
Closed
@ejholmes

Description

@ejholmes

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::Url

It 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 -> vpc

I think this would be more powerful than the current --stacks flag, since that currently doesn't respect dependencies.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0