Files
floci/src/main/java
Attila Kis 004d562f34 fix(apigateway): return stored method, policy, and stage settings (#3857)
* fix(apigateway): return stored method, policy, and stage settings

Store and return method request parameters, the REST API policy, and stage
access log settings, tracing, and tags. These writes were accepted but never
saved, so Terraform planned the same changes on every run.
Support the patch paths Terraform uses for these fields.
Return the policy escaped the same way AWS does.
Tag stages by their own ARN instead of tagging the REST API.
Add REST regression coverage.

* test(apigateway): add Terraform compat test for REST read-back

Apply a REST API gateway module with Terraform, then check that it converges.
Check that the method, policy, and stage settings read back after apply.
Check that a second apply succeeds and the plan after it has no changes.
Check that changing a request parameter or a stage tag applies and re-plans clean.
Use the deployment trigger hash from the bug report, which used to fail with
"Provider produced inconsistent final plan".
2026-09-18 13:12:25 -04:00
..