Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ejholmes
Copy link
Contributor

Brought up in #551 (comment), this changes how steps are logged, so that we log the short "step name" instead of the full stack name. The reasoning for this is that, with multi-account/region support now in, it's entirely possible to have multiple stacks with the same name in a single config (e.g. multiple vpc's in different regions). This also sorta sets the stage for supporting other types of steps in the graph, that aren't CloudFormation stacks (e.g. hooks, targets, etc).

In verbose mode, you're still able to correlate a node in the graph, with the resulting CloudFormation stack name:

[2018-03-13T20:48:15] DEBUG app1 stacker.actions.build:288(_launch_stack): Creating new stack: ejholmes-stacker-tests-app1

@ejholmes
Copy link
Contributor Author

Gonna merge this since we already agreed this is the right thing to do, and it's a 1 line change (aside from updating the tests).

@ejholmes ejholmes merged commit 7739100 into master Mar 14, 2018
@ejholmes ejholmes deleted the short-logging branch March 14, 2018 04:14
phrohdoh pushed a commit to phrohdoh/stacker that referenced this pull request Dec 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants