question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dumping fails when one stack consumes the output of another stack

See original GitHub issue

With 1.0.0a1 dumping doesn’t work:

$ stacker build -vv -d  dump -r eu-west-1 ./conf/capone-formisimo-processor.env ./conf/ec2-instance.yaml
[2016-10-29T16:30:48] INFO stacker.commands.stacker:33(configure): Using Default AWS Provider
Traceback (most recent call last):
  File "/usr/local/bin/stacker", line 9, in <module>
    args.run(args)
  File "/usr/local/lib/python2.7/site-packages/stacker/commands/stacker/build.py", line 52, in run
    dump=options.dump)
  File "/usr/local/lib/python2.7/site-packages/stacker/actions/base.py", line 125, in execute
    self.run(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/stacker/actions/build.py", line 285, in run
    plan.dump(dump)
TypeError: dump() takes exactly 3 arguments (2 given)

It looks like the directory option isn’t propagated through to Plan.dump.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
jonathanunderwoodcommented, Feb 13, 2017

Good question. I tend to be using this for debugging purposes, so if the parameter was tokenized to read something like {{${otherstack:var}}} I’d be happy. That would obviously be an invalid cloud formation template, but at least it would be usable for debugging purposes.

0reactions
jonathanunderwoodcommented, Sep 22, 2017

Great, thanks Michael. Will give it a test when I have chance.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dumping Stacks - Oracle Blogs
The first thing to consider is that when Oracle Solaris takes a trap (any kind of fault, exception or interrupt, which includes system...
Read more >
Stack-Based Buffer Overflow Attacks: Explained | Rapid7 Blog
Using stack overflow attacks against program metadata to affect code execution is not much different than the above example. The key is ...
Read more >
CLI: way to get outputs from deployed stack · Issue #1773
After deploying the stack, there's no way in the CLI to go back and get outputs from the deployed stack with the CDK...
Read more >
Stack failure options - AWS CloudFormation
By specifying stack failure options, you can troubleshoot resources in a CREATE_FAILED or ... A failure in one path doesn't affect other provisioning...
Read more >
AWS CDK cross-stack references and deployment order
In my case I was using CDK and wanted to remove one stack (lets say stackA) with outputs referenced as input in another...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found