(elbv2): unable to remove bucket policy dependency #31633
Labels
@aws-cdk/aws-elasticloadbalancingv2
Related to Amazon Elastic Load Balancing V2
guidance
Question that needs advice or information.
p2
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
Attempting to remove the bucket policy dependency with
cfnAlb.removeDependency(cfnAccessBuckePolicy) results in the following TypeError:
target.shouldSynthesize is not a function`Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
Dependency is removed
Current Behavior
Test suite failed to run - TypeError: target.shouldSynthesize is not a function
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.160
Framework Version
No response
Node.js Version
20.11.1
OS
Mac 14.6
Language
TypeScript
Language Version
5.4.5
Other information
No response
The text was updated successfully, but these errors were encountered: