Skip to content

custom-resources: PR:29648 caused Custom resources to be replaced #30121

@p3tek

Description

@p3tek

Describe the bug

the following PR - #29648 added an additional "logApiResponseData":true to the custom resource properties.

This triggered a replacement of existing custom resources which is not a good outcome for "onCreate" resources that are only meant to be executed once

Expected Behavior

Not have existing custom-resources replaced with this update.

Current Behavior

"logApiResponseData":true was not present prior to this PR and the custom resource was not triggered on stack update

Reproduction Steps

will trigger after an update of aws-cdk-lib

Possible Solution

allow this value to be suppressed so it doesn't trigger a resource replacement ?

Additional Information/Context

No response

CDK CLI Version

2.138.0

Framework Version

2.138.0

Node.js Version

18.16.1

OS

linux

Language

TypeScript

Language Version

No response

Other information

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions