Cannot generate IAM policy statement for Task state { Type: 'Task',
Resource: 'arn:aws:states:::http:invoke',
Parameters:
{ 'ApiEndpoint.$': '$.apiUrl',
'Method.$': '$.method',
Authentication: { 'ConnectionArn.$': '$.connectionArn' } },
Next: 'Success' }
✓ State machine "TestStepFunction" definition is valid
And during run my Step Function fails with
AWS Step Functions is not authorized to perform states:InvokeHTTPEndpoint on API Endpoint https://example.com. Ensure that the StateMachine role contains the states:InvokeHTTPEndpoint permission for the given API Endpoint
Additional Data
Serverless Framework Core Version you're using: 3.38.0
This is a Feature Request
Description
AWS announced ability to call external endpoints at AWS re:invent.
If I define following state:
During deploy I see the following warning
And during run my Step Function fails with
Additional Data