aws-ecs-patterns: Substituting IApplicationLoadBalancer for ApplicationLoadBalancer results in JSII breaking change alert #5465
Labels
@aws-cdk/aws-ecs-patterns
Related to ecs-patterns library
guidance
Question that needs advice or information.
needs-triage
This issue or PR still needs to be triaged.
PR #5461 is an attempt to allow users to provide an imported load balancer to aws-ecs-patterns. This requires that I change some properties defined in aws-ecs-patterns from ApplicationLoadBalancer or NetworkLoadBalancer types to IApplicationLoadBalancer or INetworkLoadbalancer types.
Expected:
All unit tests and integration tests pass
Actual:
JSII causes CI build to fail with output "IApplicationLoadBalancer does not extend ApplicationLoadBalancer." This seems to be in error: objects of type ApplicationLoadBalancer implement IApplicationLoadBalancer and this should not result in any breaking UX changes.
Reproduction Steps
This issue appears in the build logs of #5461
Error Log
Build logs can be searched to locate the above text.
Environment
CI Build Environment as configured for the build in #5461
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: