Open atkinsonm opened 5 years ago
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]
(intending to submitting a PR for this feature)
A rough implementation in Python is at https://gitlab.com/jhctech-oss/aws-tools/cfn-lab/-/blob/master/cfn-utils/deploy.py#L502
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.