From 6e739f4198342b59edfb2c7cfea6494383938193 Mon Sep 17 00:00:00 2001 From: Joel Balcaen Date: Fri, 19 Apr 2024 20:34:55 -0300 Subject: [PATCH] store email id --- state_machines/email_form_fill/state_machine.tf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/state_machines/email_form_fill/state_machine.tf b/state_machines/email_form_fill/state_machine.tf index c437bad..7c508e9 100644 --- a/state_machines/email_form_fill/state_machine.tf +++ b/state_machines/email_form_fill/state_machine.tf @@ -58,8 +58,9 @@ resource "aws_sfn_state_machine" "sfn_state_machine" { "Next" : "Lambda Invoke", "Parameters" : { "Body" : { - "sender_email" : "$.ses.mail.source", - "destination_email" : "$.ses.mail.destination", + "sender_email.$" : "$.ses.mail.source", + "destination_email.$" : "$.ses.mail.destination", + "email_id.$" : "$.ses.mail.messageId", "prompts" : [ { "key" : "A",