Skip to content

Instantly share code, notes, and snippets.

@ejholmes
Created July 20, 2017 22:40
Show Gist options
  • Save ejholmes/1cd43e07bbb761e5544bcac826b10daf to your computer and use it in GitHub Desktop.
Save ejholmes/1cd43e07bbb761e5544bcac826b10daf to your computer and use it in GitHub Desktop.
Run a stacker build with python
from stacker.context import Context
from stacker.actions import build
from stacker.providers.aws.default import Provider
env = {"namespace": "namespace-here"}
config = {
"stacks": []}
context = Context(environmnet=env, config=config)
action = build.Action(context, provider=Provider("us-east-1"))
action.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment