[{"data":1,"prerenderedAt":53},["ShallowReactive",2],{"workflow-start-athena-query-tf":3},{"id":4,"title":5,"cleanup":6,"contributors":10,"deploy":12,"description":16,"diagram":17,"extension":18,"framework":19,"gitHub":20,"introBox":26,"level":31,"meta":32,"resources":33,"s3URL":36,"services":37,"simplicity":43,"stem":44,"testing":45,"type":49,"usecase":50,"videoId":51,"__hash__":52},"workflows\u002Fworkflows\u002Fstart-athena-query-tf.json","Start Athena Query",{"headline":7,"text":8},"Cleanup",[9],"1. Delete the stack: \u003Ccode>terraform destroy\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fitziar-olivera-goicolea.json",{"text":13},[14,15],"terraform init","terraform apply","This workflow use Step Functions and Amazon Athena and AWS Lambda Functions to start an Athena query and send a notification via SNS with query results.","\u002Fassets\u002Fimages\u002Fworkflows\u002Fstart-athena-query-tf.png","json","Terraform",{"template":21},{"repoURL":22,"templateDir":23,"templateFile":24,"ASL":25},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fstep-functions-workflows-collection\u002Ftree\u002Fmain\u002Fsfn-start-athena-query-tf\u002F","sfn-start-athena-query-tf","\u002Fmain.tf","statemachine\u002Fstatemachine.asl.json",{"headline":27,"text":28},"How it works",[29,30],"In this project, Step Functions invokes a Lambda function to generate data, then, another Lambda function is invoked, which uses a Glue crawler, to categorize data stored in S3.","The Athena query is then initiated and runs until it is completed. Once the query is completed, the results are obtained and published to the SNS (Simple Notification Service) topic.","100",{},{"headline":34,"bullets":35},"Additional resources",[],null,[38,39,40,41,42],"lambda","sfn","glue","athena","sns","1 - Fundamental","workflows\u002Fstart-athena-query-tf",{"headline":46,"text":47},"Testing",[48],"See the GitHub repo for detailed testing instructions.","Standard","Data Processing","","nJAs8-tQCzzaxMxi1Qe8lFXo_rhgIIM6t6ZqBXCnoFE",1778846889576]