Closed tedsmitt closed 1 year ago
As per #8
Testing locally:
>> ~/code/github/tail-stack-events (master) [] $ aws cloudformation create-stack --stack-name $STACK_NAME --template-body file://test.yml --capabilities CAPABILITY_IAM CAPABILITY_NAMED_IAM && ./tail-stack-events.js --stack-name $STACK_NAME --follow --die { "StackId": "arn:aws:cloudformation:eu-west-1:500405362207:stack/test-tail-stack/f52414d0-1c09-11ee-9d4a-0a73a14ce331" } Jul 6 15:32:38 test-tail-stack CloudFormation::Stack … CREATE_IN_PROGRESS User Initiated Jul 6 15:32:41 TailStackEventsUser IAM::User … CREATE_IN_PROGRESS Jul 6 15:32:42 TailStackEventsUser IAM::User … CREATE_IN_PROGRESS Resource creation Initiated Jul 6 15:33:17 TailStackEventsUser IAM::User ✓ CREATE_COMPLETE Jul 6 15:33:18 TailStackEve…serAccessKey IAM::AccessKey … CREATE_IN_PROGRESS Jul 6 15:33:19 TailStackEve…serAccessKey IAM::AccessKey … CREATE_IN_PROGRESS Resource creation Initiated Jul 6 15:33:19 TailStackEve…serAccessKey IAM::AccessKey ✓ CREATE_COMPLETE Jul 6 15:33:20 test-tail-stack CloudFormation::Stack ✓ CREATE_COMPLETE >> ~/code/github/tail-stack-events (master) [] $ aws cloudformation delete-stack --stack-name $STACK_NAME && ./tail-stack-events.js --stack-name $STACK_NAME --follow --die Jul 6 15:33:18 TailStackEve…serAccessKey IAM::AccessKey … CREATE_IN_PROGRESS Jul 6 15:33:19 TailStackEve…serAccessKey IAM::AccessKey … CREATE_IN_PROGRESS Resource creation Initiated Jul 6 15:33:19 TailStackEve…serAccessKey IAM::AccessKey ✓ CREATE_COMPLETE Jul 6 15:33:20 test-tail-stack CloudFormation::Stack ✓ CREATE_COMPLETE Jul 6 15:34:12 test-tail-stack CloudFormation::Stack … DELETE_IN_PROGRESS User Initiated Jul 6 15:34:14 TailStackEve…serAccessKey IAM::AccessKey … DELETE_IN_PROGRESS Jul 6 15:34:14 TailStackEve…serAccessKey IAM::AccessKey ✓ DELETE_COMPLETE Jul 6 15:34:15 TailStackEventsUser IAM::User … DELETE_IN_PROGRESS Stack no longer exists >> ~/code/github/tail-stack-events (master) [] $
Hi. Thanks for the PR. I published an updated version to NPM 2.2.1.
2.2.1
As per #8
Testing locally: