-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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 flags are being moved to cdk.context.json #7399
Comments
I agree |
Thanks for opening this issue. This behaviour is quite annoying when you are doing some tests deployments on your local machine. Since we are not using |
@rix0rrr the issue is this method we have to migrate legacy context which has a heuristic that's fragile as it marks any context key with a also @eladb called this one. It seems like we intended to remove the migration logic altogether a long time ago but did not. Is that still the desired outcome here? If we need to keep the logic, we'd need to move to an explicit whitelist of keys that are eligible for moving. Otherwise, we're precluding usage (internal or user provided) of |
I don't like the migration logic. As a user, if I configure application context in |
@eladb agreed. Is the use case for moving legacy context provider keys still a valid one? this change was introduced in |
I think we can remove |
…ext.json Removes migration logic that was introduced to move legacy context provider keys. Rationale: This logic was intended to be removed prior to v1.0 It looks for any key that contains a `:` and moves it to `cdk.context.json`. This is not expected behavior and also prevents users from having keys that have `:`. Our init templates also include feature flags which make use of the `:` character. Closes #7399
From #6929
This should not happen. Overloading the flags as context makes it weird...
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: