-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Always deploy API option #660
Comments
Another edge case where a customer encountered an availability drop by a missed API deployment:
|
#1162 is another case that this would fix. |
Has there been any progress on this? For example if my swagger definition has an endpoint with the following
When I update the lambda (so a new version of the lambda, with a new alias pointing to that version), SAM doesn't deploy the API. Although the API definition shows the endpoint integrated with the new lambda alias, the stage is NOT actually deployed. To get around this, we would have to hardcode and increment the FunctionAlias in the swagger definition (so that SAM detects a swagger change) rather than using the variable. |
+1 |
1 similar comment
+1 |
+1 |
1 similar comment
+1 |
We experienced the same issue when updating an |
Experiencing the same issue, is this somewhere on the road map? |
Facing this issue as well. Any updates on when this feature is going to be available? Thanks! |
+1 |
We also facing this issue with CORS update. ny updates on when this feature is going to be available? |
Our (silly) workaround is to use Does mean that even if there are no changes, the gateway is replaced. But this seems to add only 5-15 seconds to the deploy, which is acceptable for us. And much better than not getting our new endpoints!
But obviously still hoping for a real fix :) |
Hi I believe this is related - #1447 Ran into some issues with API Gateway config changes not redeploying the API - this feature request looks to resolve this issue. |
Experiencing the same issue when updating a Mock integrations Mapping Template.
it appears that some changes, like updating a Mapping Template, does not trigger an API deployment. Edit: Based on this I lean towards not calling this out as a SAM issue but rather a general CloudFormation issue. For now I am working around it by swapping
|
One potential solution that would keep the transform deterministic would be to append a hash of the entire template and parameters to the API resource if a property is set (e.g. |
I'm working on a draft PR in #2935 that adds a new property |
#2935 has been merged and will roll out over the coming weeks. |
Description:
Add a new property to always deploy your API even if we can't detect a change to the API.
Steps to reproduce the issue:
Observed result:
The rest API does not redeploy with the updated function name
Expected result:
Rest API would redeploy with the updated function name
See issue #634
The text was updated successfully, but these errors were encountered: