(ApiGatewayV2): deployment is not auto-updated when RestApi is updated
See original GitHub issue❓ General Issue
We are using cdk(@aws-cdk/aws-apigateway) to implement API gateway and its deployment and stage creation using CfnDeployment and CfnStage cloudformation resources.
Yesterday we added one more api and through CICD it deploys to my SBX environment. When i verify the API gateway resources section , my newly added resources is there but not in stage sections. We are facing the issue from yesterday only.
we are using “@aws-cdk/aws-apigatewayv2”: “1.45.0”,
The Question
Environment
- CDK CLI Version:
- Module Version:
- Node.js Version:
- OS:
- Language (Version):
Other information
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
AWS::ApiGatewayV2::Stage - AWS CloudFormation
The deployment identifier for the API stage. Can't be updated if autoDeploy is enabled. Required: No. Type: String. Update requires: No interruption.
Read more >CloudFormation doesn't deploy to API gateway stages on ...
It will update the existing stage with latest updates. aws apigateway create-deployment --rest-api-id tztstixfwj --stage-name stg ...
Read more >“Deployment” in Amazon API Gateway | by Jaewoo Ahn
For example, with REST API/WebSocket API, Console's Deploy API does not ... any updates to the API automatically trigger a new deployment to...
Read more >aws_apigatewayv2_api | Resources | hashicorp/aws
To create and deploy REST APIs, use Amazon API Gateway Version 1 resources. ... the following resources should not be managed as separate...
Read more >AWS Lambda Guide - Serverless.yml Reference
Disable automatic rollback by CloudFormation on failure. ... Endpoint type for API Gateway REST API: edge or regional (default: edge).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We have observed same issue for our API Gateway from last week. We had to deploy API manually to reflect in stages. The cdk version we use is 1.45.0. @nija-at @KarthickEmis
Thanks @nija-at for the update.
This worked when implementing RestApi construct instead of CfnRestApi, CfnDeployment and CfnStage constructs separately.