Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tail for stack sets #7

Open
atkinsonm opened this issue Apr 22, 2019 · 3 comments
Open

Tail for stack sets #7

atkinsonm opened this issue Apr 22, 2019 · 3 comments

Comments

@atkinsonm
Copy link
Contributor

I would like to be able to use this tool to tail CloudFormation stack sets. For basic implementation, I would like to just get the stack operation status and not the more detailed stack events from each underlying stack instance.

@atkinsonm
Copy link
Contributor Author

Pseudo-code:

cfn-tail MyStackSet --stackset ## make sure we know we are dealing with a stack set and not a regular stack
operationId=$(list-stack-set-operations --query latest)
describe-stack-set-operation $operationId

## describe stack operations until we reach some end state
while ($status not in FAILED, STOPPED, SUCCEEDED)
print StackSetOperation[Status]

@atkinsonm
Copy link
Contributor Author

atkinsonm commented Apr 22, 2019

(intending to submitting a PR for this feature)

@atkinsonm
Copy link
Contributor Author

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

No branches or pull requests

1 participant