You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yea, I don't think we need to track every version in all stages, for instance, i currently have 17 versions of 19 lambdas during my dev stage. My current lambda storage increased to 11gb. It also takes longer to deploy. It would be awesome to have this disabled during dev and enabled when CI/CD deploys to the other stages. Versioning also means that having a way to clean up versions would be needed too.
Reacted by Philipp Muens, Piotr Gąsiorowski, Mike Rosack, Vladyslav Sheruda, Alexander Regueiro and Renato Gama
We already use versioning in the URL path (eg. /api/v1) to guard against breaking changes and maintain integration tests for all endpoints.
My concern is mainly related to security with sharing an internal API with clients - don't want to keep a lambda version that 1. has not been tested well enough 2. got there by mistake 3. might include vulnerability. The overhead of maintaining additional versions is not something we are waiting for. Having said that I understand the purpose of versioning lambdas and know there are good use cases.
Activity
mthenw commentedon Dec 6, 2016
What is the reason for disabling this?
pmuens commentedon Dec 6, 2016
Created it based upon feedback from this PR #2676
mthenw commentedon Dec 6, 2016
@WooDzu @ajagnanan could you share more info why would you like do disable this?
ajagnanan commentedon Dec 6, 2016
Yea, I don't think we need to track every version in all stages, for instance, i currently have 17 versions of 19 lambdas during my dev stage. My current lambda storage increased to 11gb. It also takes longer to deploy. It would be awesome to have this disabled during dev and enabled when CI/CD deploys to the other stages. Versioning also means that having a way to clean up versions would be needed too.
pgasiorowski commentedon Dec 7, 2016
We already use versioning in the URL path (eg. /api/v1) to guard against breaking changes and maintain integration tests for all endpoints.
My concern is mainly related to security with sharing an internal API with clients - don't want to keep a lambda version that 1. has not been tested well enough 2. got there by mistake 3. might include vulnerability. The overhead of maintaining additional versions is not something we are waiting for. Having said that I understand the purpose of versioning lambdas and know there are good use cases.
pmuens commentedon Jan 30, 2017
Closing this since it's resolved with #3042
rjtlinux commentedon Jul 5, 2023
How to disable the lambda version through cloudformation?