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
fix(lambda): recognizeVersionProps featureFlag not defaulting correctly (#17866)
The `@aws-cdk/aws-lambda:recognizeVersionProps` feature flag has always had the
"future" behavior set to "true", meaning any new projects get the flag set to
true. All of these style flags were intended to default to true as well for v2,
but this one was missed. The end result is that users who have created a new v1
project anytime in the last ~6 months, and then upgrade to v2, actually
experience a _downgrade_ in behavior if following the offical migration guide
(which instructs users to delete all feature flags).
This change fixes the behavior to work as intended. Users who wish to opt out
can continue to set `@aws-cdk/aws-lambda:recognizeVersionProps` to false in
their `cdk.json`.
fixes#17810
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
0 commit comments