aws-ia / terraform-aws-runtask-iam-access-analyzer

Apache License 2.0
12 stars 4 forks source link

Unverified runtask_request fail to return response on callback #113

Open wellsiau-aws opened 2 weeks ago

wellsiau-aws commented 2 weeks ago

When runtask_request unable to verify the incoming event (i.e wrong workspace prefix), it sent the unverified state to runtask_callback.

However runtask_callback can fail to return the response, causing TFC RunTask to timeout. stepfunctions_graph

gautambaghel commented 6 days ago

So we'd just update the runtask_callback return "fail" response to TFC (not timeout) whenever unverified state is received by runtask_callback

am i getting this right?

wellsiau-aws commented 6 days ago

yes, I think I forgot to add this logic