terraform-aws-modules / terraform-aws-apigateway-v2

Terraform module to create AWS API Gateway v2 (HTTP/WebSocket) 🇺🇦
https://registry.terraform.io/modules/terraform-aws-modules/apigateway-v2/aws
Apache License 2.0
144 stars 187 forks source link

Stepfunction Integration Permission not working #87

Closed tbehlauProgress closed 1 year ago

tbehlauProgress commented 1 year ago

Description

Post to the start-stepfunction endpoint results in a permission error

Versions

Reproduction Code [Required]

Steps to reproduce the behavior:

Run the installation of the complete-http example. Run curl -X POST {domain}/start-step-function -d {}

Expected behavior

Success message

Actual behavior

Failed error {"message":"Internal Server Error"}

Cloudwatch Output

104.129.198.74 - - [24/Jan/2023:17:52:06 +0000] "POST POST /start-step-function HTTP/1.1" 500 35 fQke_hDCDoEEMpw= API Gateway doesn’t have permissions to assume the IAM role configured on the integration. Check the permissions and try again.

antonbabenko commented 1 year ago

Please fill in the issue template to increase the chances of receiving an answer.

Verify that your API Gateway has required permissions, as the error message suggests.

github-actions[bot] commented 1 year ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.