While previous PR fixed the issue with the default endpoint for newly created API gateways we still run into an issue with ones that just get refreshed. As API Gateways use an "deployment" mechanism to apply changes. The current version applies the changes to the settings of the API gateway, but the settings won't be deployed. This PR is here to fix this (was just tested in another repo with a ref to the HEAD of this PR).
PR instructions
check code changes
The steps of acceptance
✔ I executed the PR instructions and everything worked.
✔ I checked the requirements for the ticket, and they are matching the PR.
✔ I am satisfied with the code and left annotations if I had some ideas.
While previous PR fixed the issue with the default endpoint for newly created API gateways we still run into an issue with ones that just get refreshed. As API Gateways use an "deployment" mechanism to apply changes. The current version applies the changes to the settings of the API gateway, but the settings won't be deployed. This PR is here to fix this (was just tested in another repo with a ref to the HEAD of this PR).
PR instructions
The steps of acceptance
✔ I executed the PR instructions and everything worked.
✔ I checked the requirements for the ticket, and they are matching the PR.
✔ I am satisfied with the code and left annotations if I had some ideas.