Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Take 2) Permission denied when calling step function within step function in standard workflow using sync pattern #65

Open
1 task done
terrysiu-pm opened this issue Aug 23, 2024 · 0 comments

Comments

@terrysiu-pm
Copy link

Description

This is a continuation of #59 which is closed and locked due to inactivity.

Same issue still exists in 4.2.0 of this module. Per the original issue, the fix should just be introducing a conditional assignment using var.type and assign states:StartSyncExecution if the type is EXPRESS, otherwise, assign states.StartExecution.

As a temporary workaround for STANDARD workflows, an additional policy can be created (and attached) which grants additional states:StartExecution for the child workflow.

If your request is for a new feature, please use the Feature request template.

  • ✋ I have searched the open/closed issues and my issue is not listed.

⚠️ Note

Before you submit an issue, please perform the following first:

  1. Remove the local .terraform directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!): rm -rf .terraform/
  2. Re-initialize the project root to pull down modules: terraform init
  3. Re-attempt your terraform plan or apply and check if the issue still persists

Versions

  • Module version [Required]: 4.2.0

  • Terraform version: 1.8

  • Provider version(s): 5.63.0

Reproduction Code [Required]

See #59

Steps to reproduce the behavior:

See #59

Expected behavior

See #59

Actual behavior

See #59

terrysiu-pm added a commit to terrysiu-pm/terraform-aws-step-functions that referenced this issue Sep 2, 2024
* Fix the IAM action to `stepfunction_Sync` to assign the `states:StartExecution` action if step function
  is not `EXPRESS`
terrysiu-pm added a commit to terrysiu-pm/terraform-aws-step-functions that referenced this issue Sep 3, 2024
* Fix the IAM action to `stepfunction_Sync` to assign the `states:StartExecution` action if step function
  is not `EXPRESS`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant