From b8965230867665c7cbf5e706c32ee8f23af7b09d Mon Sep 17 00:00:00 2001 From: Colin Francis <131073567+colifran@users.noreply.github.com> Date: Fri, 7 Jun 2024 11:52:55 -0700 Subject: [PATCH] chore: add feature flag warning to notice for https://github.com/aws/aws-cdk/issues/29949 (#526) Adds a warning to let users know that they should set the `@aws-cdk/custom-resources:logApiResponseDataPropertyTrueDefault` feature flag to true if upgrading to a CDK version >2.144.0 from a CDK version >=2.138.0 <=2.144.0. --- data/notices.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/notices.json b/data/notices.json index 89dbda5..09c3859 100644 --- a/data/notices.json +++ b/data/notices.json @@ -535,7 +535,7 @@ { "title": "(custom-resources): logApiResponseData property for AwsCustomResource is forcing unwanted updates", "issueNumber": 29949, - "overview": "A new Logging class was added for AwsCustomResource in CDK v2.138.0. The logging property defaults to Logging.all() which adds logApiResponseData as true by default to the custom resource properties. As a result, an update is triggered automatically which returns an empty data object if no SDK call was configured.", + "overview": "A new Logging class was added for AwsCustomResource in CDK v2.138.0. The logging property defaults to Logging.all() which adds logApiResponseData as true by default to the custom resource properties. As a result, an update is triggered automatically which returns an empty data object if no SDK call was configured. If you are on a CDK version >=2.138.0 or <=2.144.0 and upgrading to a CDK version >=2.145.0 you will need to set the @aws-cdk/custom-resources:logApiResponseDataPropertyTrueDefault feature flag to true to keep logApiResponseData as true by default and prevent an update event from being triggered; otherwise, you may encounter a deployment failure when upgrading", "components": [ { "name": "aws-cdk-lib.custom-resources",