Pet-Cuddle-O-Tron - STAGE 3B ASL code does not match video
H-Adrian opened this issue · comments
Adrian Hajdo commented
The link at this line which looks like this:
{
"Comment": "Pet Cuddle-o-Tron - using Lambda for email.",
"StartAt": "Timer",
"States": {
"Timer": {
"Type": "Wait",
"SecondsPath": "$.waitSeconds",
"Next": "Email"
},
"Email": {
"Type" : "Task",
"Resource": "arn:aws:states:::lambda:invoke",
"Parameters": {
"FunctionName": "EMAIL_LAMBDA_ARN",
"Payload": {
"Input.$": "$"
}
},
"Next": "NextState"
},
"NextState": {
"Type": "Pass",
"End": true
}
}
}
that contains the ASL code does not match the code shown in the video:
Am I doing something wrong? Otherwise I'm surprised this has been like this for 3 years if that's the case.
Adrian Cantrill commented
Where are you watching this video ? the image you paste seems to be out of date and i've updated it since then.