cloudformation-coverage-roadmap icon indicating copy to clipboard operation
cloudformation-coverage-roadmap copied to clipboard

CloudFormation Resources Tab with Link to AWS::ApiGatewayV2::Api resource opens blank page

Open nicc777 opened this issue 3 years ago • 1 comments

Name of the resource

AWS::ApiGatewayV2::Api

Resource Name

No response

Issue Description

When using SAM to deploy a serverless function with AWS::ApiGatewayV2::Api, the CloudFormation Resources TAB that lists all the created resources include a link to the HTTP API resource. However, when you click on the link, it leads to a blank page.

Expected Behavior

Expecting to see the working URL:

https://eu-central-1.console.aws.amazon.com/apigateway/main/develop/routes?api=NN&region=eu-central-1

NN = The API Gateway ID

Observed Behavior

When clicking on the link, the user is lead to a blank page. The generated URL:

https://eu-central-1.console.aws.amazon.com/apigateway/home#/apis/NN/routes

NN = The API Gateway ID

Test Cases

Deploy one of the examples in https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-httpapi.html#sam-resource-httpapi--examples and then in CloudFormation navigate to the Resources TAB and click on the link for the AWS::ApiGatewayV2::Api resource

Other Details

I observed the behavior from a SAM deployment. I have not tested with a more traditional CloudFormation template, but since SAM generates the CloudFormation template I don't expect different behavior.

nicc777 avatar Aug 09 '22 05:08 nicc777

Just confirmed today on another project that this is indeed an issue. Was wondering when someone would look at this?

nicc777 avatar Aug 27 '22 06:08 nicc777