From adec64500d121417b1e4de461d841853fd19c9bd Mon Sep 17 00:00:00 2001 From: Terry Siu Date: Mon, 2 Sep 2024 15:37:17 +0000 Subject: [PATCH] [#65](https://github.com/terraform-aws-modules/terraform-aws-step-functions/issues/65) * Fix the IAM action to `stepfunction_Sync` to assign the `states:StartExecution` action if step function is not `EXPRESS` --- CHANGELOG.md | 8 ++++++++ locals.tf | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1682ad4..41d34bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ All notable changes to this project will be documented in this file. +## [4.2.1](https://github.com/terraform-aws-modules/terraform-aws-step-functions/compare/v4.2.0...v4.2.1) (2024-09-03) + + +### Bug Fixes +* Update the `stepfunction_Sync` action to be set as `states:StartExecution` if the step function is a `STANDARD` worfklow + ([#65](https://github.com/terraform-aws-modules/terraform-aws-step-functions/issues/65)) + + ## [4.2.0](https://github.com/terraform-aws-modules/terraform-aws-step-functions/compare/v4.1.1...v4.2.0) (2024-03-22) diff --git a/locals.tf b/locals.tf index 109e135..dacbc56 100644 --- a/locals.tf +++ b/locals.tf @@ -702,7 +702,7 @@ locals { stepfunction_Sync = { stepfunction = { actions = [ - "states:StartSyncExecution" + var.type == "EXPRESS" ? "states:StartSyncExecution" : "states:StartExecution" ] }