Files
floci/src
Aniket Shukla 6fa53abd7c feat(cloudformation): expand SAM AWS::Serverless::HttpApi to ApiGatew… (#1956)
* fix(cloudformation): preserve HttpApi routes and avoid stage-id collisions

expandServerlessHttpApi dropped the SAM DefinitionBody, so route-bearing AWS::Serverless::HttpApi templates expanded into an ApiGatewayV2 API with no routes. Carry DefinitionBody over as the ApiGatewayV2::Api Body.

It also synthesized a '<id>Stage' resource with resources.set(...), silently overwriting any resource the user already declared under that logical id. Skip synthesis (and warn) when the id is taken instead of clobbering the user's resource.

Tests cover both: DefinitionBody preserved as Body, and a user-declared <id>Stage left intact.

* fix(cloudformation): provision SAM HttpApi routes

* fix(cloudformation): reconcile SAM HttpApi routes

* fix(cloudformation): stage HttpApi route replacements

* fix(cloudformation): roll back failed HttpApi replacements

* fix(cloudformation): resolve intrinsic HttpApi definitions

* fix(cloudformation): roll back HttpApi definition removal

* fix(cloudformation): retain failed HttpApi route cleanup

* test(cloudformation): align HttpApi fixture with main

* chore(ci): retrigger flaky Neptune test

* fix(apigatewayv2): prevent duplicate routes on rollback

* fix(cloudformation): persist failed cleanup ownership

* fix(cloudformation): preserve OpenAPI route authorization

* fix(cloudformation): reject unsupported auth conjunctions

* fix(apigatewayv2): preserve rollback and auth semantics

* fix(cloudformation): surface incomplete update rollback

* fix(cloudformation): merge overlapping SAM HTTP API routes

* fix(cloudformation): preserve merged route authorization

* test(cloudformation): document SAM auth defaults
2026-08-23 15:20:20 -04:00
..