From f2c7310206cac96e53b6e2c76147d9dc3cc9fb22 Mon Sep 17 00:00:00 2001 From: Joel Balcaen Date: Thu, 25 Apr 2024 11:06:08 -0300 Subject: [PATCH] try again --- state_machines/email_form_fill/state_machine.json | 2 +- state_machines/email_form_fill/state_machine.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/state_machines/email_form_fill/state_machine.json b/state_machines/email_form_fill/state_machine.json index 542ef83..3a785cb 100644 --- a/state_machines/email_form_fill/state_machine.json +++ b/state_machines/email_form_fill/state_machine.json @@ -223,4 +223,4 @@ "Type": "Parallel" } } - } \ No newline at end of file +} \ No newline at end of file diff --git a/state_machines/email_form_fill/state_machine.tf b/state_machines/email_form_fill/state_machine.tf index 8c53340..f54a9d4 100644 --- a/state_machines/email_form_fill/state_machine.tf +++ b/state_machines/email_form_fill/state_machine.tf @@ -71,5 +71,5 @@ resource "aws_iam_role_policy" "sfn_lambda_invoke_access" { resource "aws_sfn_state_machine" "sfn_state_machine" { name = "esta-rfp-form-filler" role_arn = aws_iam_role.iam_for_sfn.arn - definition = jsonencode("${path.module}/state_machine.json") + definition = jsonencode(file("${path.module}/state_machine.json")) }