From 12fc5f2318ac0691e272c55ffeed3e8b32caa814 Mon Sep 17 00:00:00 2001 From: Joel Balcaen Date: Fri, 19 Apr 2024 21:02:27 -0300 Subject: [PATCH] store in folder --- state_machines/email_form_fill/state_machine.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/state_machines/email_form_fill/state_machine.tf b/state_machines/email_form_fill/state_machine.tf index b391719..0ff8e34 100644 --- a/state_machines/email_form_fill/state_machine.tf +++ b/state_machines/email_form_fill/state_machine.tf @@ -70,7 +70,7 @@ resource "aws_sfn_state_machine" "sfn_state_machine" { ] }, "Bucket" : var.workspace_bucket_name, - "Key.$" : "States.Format('{}.email', $.Records[0].ses.mail.messageId)", }, + "Key.$" : "States.Format('{}/email', $.Records[0].ses.mail.messageId)", }, "Resource" : "arn:aws:states:::aws-sdk:s3:putObject" }, "Lambda Invoke" : {