[{"data":1,"prerenderedAt":89},["ShallowReactive",2],{"pattern-sns-sqs-lambda-firehose-s3-terraform":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":12,"deploy":14,"description":19,"extension":20,"framework":21,"gitHub":22,"highlight":6,"introBox":28,"language":32,"level":33,"meta":34,"patternArch":35,"resources":61,"s3URL":6,"services":6,"stem":83,"testing":84,"videoId":6,"__hash__":88},"patterns\u002Fpatterns\u002Fsns-sqs-lambda-firehose-s3-terraform.json","Amazon SNS to Amazon SQS to AWS Lambda to Amazon Data Firehose",null,{"headline":8,"text":9},"Cleanup",[10,11],"1. Delete the stack: \u003Ccode>terraform destroy\u003C\u002Fcode>.","2. Confirm the stack has been deleted: \u003Ccode>terraform show\u003C\u002Fcode>",[13],"content\u002Fcontributors\u002Fhicham-terkiba.json",{"text":15},[16,17,18],"terraform init","terraform plan","terraform apply","Save messages from an SNS FIFO topic into an S3 bucket, using SQS FIFO queue, Lambda and Firehose.","json","Terraform",{"template":23},{"repoURL":24,"templateURL":25,"projectFolder":26,"templateFile":27},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Ffifo-sns-sqs-lambda-firehose-s3","serverless-patterns\u002Ffifo-sns-sqs-lambda-firehose-s3","fifo-sns-sqs-lambda-firehose-s3","main.tf",{"headline":29,"text":30},"How it works",[31],"The Terraform template in this pattern allows you to connect an SQS FIFO queue to Firehose to process messages sent by an SNS FIFO topic and save the result to an S3 bucket using a Lambda function as a bridge to Firehose.","Python","300",{},{"icon1":36,"icon2":41,"icon3":45,"icon4":49,"line1":53,"line2":57,"line3":59},{"x":37,"y":38,"service":39,"label":40},20,50,"sns","SNS FIFO",{"x":42,"y":38,"service":43,"label":44},40,"sqs","SQS FIFO",{"x":46,"y":38,"service":47,"label":48},60,"lambda","AWS Lambda",{"x":50,"y":38,"service":51,"label":52},80,"kinesis-firehose","Firehose",{"from":54,"to":55,"label":56},"icon1","icon2","",{"from":55,"to":58,"label":56},"icon3",{"from":58,"to":60,"label":56},"icon4",{"bullets":62},[63,66,69,71,74,77,80],{"text":64,"link":65},"SNS FIFO topic","https:\u002F\u002Fdocs.aws.amazon.com\u002Fsns\u002Flatest\u002Fdg\u002Fsns-fifo-topics.html",{"text":67,"link":68},"SQS FIFO queue","https:\u002F\u002Fdocs.aws.amazon.com\u002FAWSSimpleQueueService\u002Flatest\u002FSQSDeveloperGuide\u002FFIFO-queues.html",{"text":48,"link":70},"https:\u002F\u002Faws.amazon.com\u002Flambda\u002F",{"text":72,"link":73},"Amazon Kinesis Firehose","https:\u002F\u002Faws.amazon.com\u002Fkinesis\u002Fdata-firehose\u002F",{"text":75,"link":76},"Amazon S3","https:\u002F\u002Faws.amazon.com\u002Fs3\u002F",{"text":78,"link":79},"Amazon CloudWatch","https:\u002F\u002Faws.amazon.com\u002Fcloudwatch\u002F",{"text":81,"link":82},"Terraform AWS Provider","https:\u002F\u002Fregistry.terraform.io\u002Fproviders\u002Fhashicorp\u002Faws\u002Flatest\u002Fdocs","patterns\u002Fsns-sqs-lambda-firehose-s3-terraform",{"headline":85,"text":86},"Testing",[87],"See the GitHub repo for testing instructions.","AYFcoDOk7zyJ42p8bRIv0IKXY_8-IS1Envp190ZcPlg",1778846888181]