diff --git a/state_machines/email_form_fill/state_machine.tf b/state_machines/email_form_fill/state_machine.tf index ea7b383..7f83ed4 100644 --- a/state_machines/email_form_fill/state_machine.tf +++ b/state_machines/email_form_fill/state_machine.tf @@ -45,6 +45,28 @@ resource "aws_iam_role_policy" "sfn_lambda_s3_access" { EOF } +resource "aws_iam_role_policy" "sfn_lambda_invoke_access" { + name = "sfn_lambda_invoke_access" + role = aws_iam_role.iam_for_sfn.id + + policy = <