Open cartwrightian opened 9 years ago
To make diagnostics easy make sure logging of SNS messages includes physical resourceID.
Currently get tw.com.SNSMonitor - Received notification for AWS::EC2::Instance status was CREATE_IN_PROGRESS
Original sns messages includes the physical resource id so should include that in the above log line.
[cfnassist] "Message" : "StackName='tramchester65Devservers'\nStackId='arn:aws:cloudformation:eu-west-1:300752856189:stack/tramchester65Devservers/40d0ce10-9517-11e4-ac34-5088487db896'\nEventId='TechLabDataServer-CREATE_IN_PROGRESS-1420488803028'\nLogicalResourceId='TechLabDataServer'\nPhysicalResourceId='i-ec85420b'\nResourceType='AWS::EC2::Instance'\nTimestamp='2015-01-05T20:13:23.028Z'\nResourceStatus='CREATE_IN_PROGRESS'\nResourceStatusReason='Resource creation Initiated'\nResourceProperties='{\"IamInstanceProfile\":\"tramchesterProdcreateInstanceIAMRole-InstanceProfile-I3Z5BHOSRCPO\",\"ImageId\":\"ami-2c90315b\",\"Tags\":[{\"Value\":\"tramchesterData\",\"Key\":\"Name\"}],\"SubnetId\":\"subnet-0c2fe47b\",\"SecurityGroupIds\":[\"sg-1365d276\"],\"UserData\":\"I2luY2x1ZGUKaHR0cHM6Ly9zMy1ldS13ZXN0LTEuYW1hem9uYXdzLmNvbS90cmFtY2hlc3RlcmRpc3QvNjUvY2xvdWRJbml0LnR4dApodHRwczovL3MzLWV1LXdlc3QtMS5hbWF6b25hd3MuY29tL3RyYW1jaGVzdGVyZGlzdC82NS90cmFtX0Rldl9zZXR2YXJzLnNoCmh0dHBzOi8vczMtZXUtd2VzdC0xLmFtYXpvbmF3cy5jb20vdHJhbWNoZXN0ZXJkaXN0LzY1L3NldHVwVHJhbURhdGFTZXJ2ZXIuc2gKIyBXQUlUVVJMPWh0dHBzOi8vY2xvdWRmb3JtYXRpb24td2FpdGNvbmRpdGlvbi1ldS13ZXN0LTEuczMtZXUtd2VzdC0xLmFtYXpvbmF3cy5jb20vYXJuJTNBYXdzJTNBY2xvdWRmb3JtYXRpb24lM0FldS13ZXN0LTElM0EzMDA3NTI4NTYxODklM0FzdGFjay90cmFtY2hlc3RlcjY1RGV2c2VydmVycy80MGQwY2UxMC05NTE3LTExZTQtYWMzNC01MDg4NDg3ZGI4OTYvZGF0YURvbmVXYWl0SGFuZGxlP0FXU0FjY2Vzc0tleUlkPUFLSUFKUkJGT0c2UlBHQVNEV0dBJkV4cGlyZXM9MTQyMDU3NTE5OCZTaWduYXR1cmU9UXVLeXdZdDZiV2d0TDJodXhYaE9Pa2hScGtnJTNECiMgVFJBTV9EQl9TRVJWRVI9dGR2YzRqMDdqdzB1OHguY2diaWl'\n",
To make diagnostics easy make sure logging of SNS messages includes physical resourceID.
Currently get tw.com.SNSMonitor - Received notification for AWS::EC2::Instance status was CREATE_IN_PROGRESS
Original sns messages includes the physical resource id so should include that in the above log line.
[cfnassist] "Message" : "StackName='tramchester65Devservers'\nStackId='arn:aws:cloudformation:eu-west-1:300752856189:stack/tramchester65Devservers/40d0ce10-9517-11e4-ac34-5088487db896'\nEventId='TechLabDataServer-CREATE_IN_PROGRESS-1420488803028'\nLogicalResourceId='TechLabDataServer'\nPhysicalResourceId='i-ec85420b'\nResourceType='AWS::EC2::Instance'\nTimestamp='2015-01-05T20:13:23.028Z'\nResourceStatus='CREATE_IN_PROGRESS'\nResourceStatusReason='Resource creation Initiated'\nResourceProperties='{\"IamInstanceProfile\":\"tramchesterProdcreateInstanceIAMRole-InstanceProfile-I3Z5BHOSRCPO\",\"ImageId\":\"ami-2c90315b\",\"Tags\":[{\"Value\":\"tramchesterData\",\"Key\":\"Name\"}],\"SubnetId\":\"subnet-0c2fe47b\",\"SecurityGroupIds\":[\"sg-1365d276\"],\"UserData\":\"I2luY2x1ZGUKaHR0cHM6Ly9zMy1ldS13ZXN0LTEuYW1hem9uYXdzLmNvbS90cmFtY2hlc3RlcmRpc3QvNjUvY2xvdWRJbml0LnR4dApodHRwczovL3MzLWV1LXdlc3QtMS5hbWF6b25hd3MuY29tL3RyYW1jaGVzdGVyZGlzdC82NS90cmFtX0Rldl9zZXR2YXJzLnNoCmh0dHBzOi8vczMtZXUtd2VzdC0xLmFtYXpvbmF3cy5jb20vdHJhbWNoZXN0ZXJkaXN0LzY1L3NldHVwVHJhbURhdGFTZXJ2ZXIuc2gKIyBXQUlUVVJMPWh0dHBzOi8vY2xvdWRmb3JtYXRpb24td2FpdGNvbmRpdGlvbi1ldS13ZXN0LTEuczMtZXUtd2VzdC0xLmFtYXpvbmF3cy5jb20vYXJuJTNBYXdzJTNBY2xvdWRmb3JtYXRpb24lM0FldS13ZXN0LTElM0EzMDA3NTI4NTYxODklM0FzdGFjay90cmFtY2hlc3RlcjY1RGV2c2VydmVycy80MGQwY2UxMC05NTE3LTExZTQtYWMzNC01MDg4NDg3ZGI4OTYvZGF0YURvbmVXYWl0SGFuZGxlP0FXU0FjY2Vzc0tleUlkPUFLSUFKUkJGT0c2UlBHQVNEV0dBJkV4cGlyZXM9MTQyMDU3NTE5OCZTaWduYXR1cmU9UXVLeXdZdDZiV2d0TDJodXhYaE9Pa2hScGtnJTNECiMgVFJBTV9EQl9TRVJWRVI9dGR2YzRqMDdqdzB1OHguY2diaWl'\n",