-
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
(aws_events_targets): Confusing installLatestAwsSdk warning #23956
Comments
Hey @mvs5465, could you please provide sample code which will generate this issue? The error message describes setting the global context flag |
@peterwoodworth Sure, this will generate the warning as of cdk 2.63.0:
|
Yes @peterwoodworth thanks for the fantastic link! We added the rest of the recommended feature flags too. The warning is gone and we got a few other improvements out of that. Appreciate it. |
|
Describe the issue
We are using the aws_events_targets module and this appears to be creating a custom resource. Specifically working with cloudtrail events for the
onEvent
static method: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cloudtrail.Trail.html#static-onwbreventscope-id-optionsWhen compiling, there is a warning:
What is the intended way to set this flag? Is this something the user should set? I see this PR from 3 weeks ago saying the default value is now false: #23591
Links
#23591
The text was updated successfully, but these errors were encountered: