aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap

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

Open
#1,269 1 comment 0 reactions 0 assignees View on GitHub
bug NeedTriage
Dominant language
No language data
Stars
1.1k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

### 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®ion=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.

Contributor guide

Open the contributing guide

Research direction

Start by deploying an example from the linked AWS SAM HTTP API documentation, then open CloudFormation’s Resources tab and click the AWS::ApiGatewayV2::Api link. Compare the generated URL with the expected API Gateway URL in the issue; done means the resource link opens the working routes page. The report is over four years old, so first check whether the behavior still occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.