(@aws-cdk/aws-stepfunction-tasks): CallApiGatewayHttpApiEndpoint didn't include "Stage" during rend the object #14242
Labels
@aws-cdk/aws-stepfunctions-tasks
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p1
CallApiGatewayHttpApiEndpoint didn't include "Stage" during rend the object after set stageName.
Reproduction Steps
What did you expect to happen?
Should include the Stage in the Step function State machines.
What actually happened?
Didn't include the Stage in the Step function State machines.
Environment
Other
May need to use the
Stage: this.baseProps.stageName
in https://github.com/aws/aws-cdk/blob/master/packages/%40aws-cdk/aws-stepfunctions-tasks/lib/apigateway/base.ts#L48
As we didn't set the stage like we did in CallApiGatewayRestApiEndpoint.
See
https://github.com/aws/aws-cdk/blob/master/packages/%40aws-cdk/aws-stepfunctions-tasks/lib/apigateway/call-rest-api.ts#L42
and
https://github.com/aws/aws-cdk/blob/master/packages/%40aws-cdk/aws-stepfunctions-tasks/lib/apigateway/call-http-api.ts#L36-L45
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: