You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ecs-patterns): feature flag missing for breaking change passing container port for target group port (#20284)
PR #18157 results in a new TargetGroup being created from NetworkLoadBalancedEc2Service, NetworkLoadBalancedFargateService, NetworkMultipleTargetGroupsEc2Service,
and NetworkMultipleTargerGroupsFargateService even when no change is made because we are now passing through the containerPort props to TargetGroups's Port.
For existing services, this is a breaking change so a feature flag is needed. This PR adds that feature flag.
Closes#19411.
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
testFutureBehavior('Fargate networkloadbalanced construct uses custom Port for target group when feature flag is enabled',{[ECS_PATTERNS_TARGET_GROUP_PORT_FROM_CONTAINER_PORT]: true},App,(app)=>{
test('test Fargate multinetworkloadbalanced construct with custom Port',()=>{
722
+
testFutureBehavior('Fargate networkloadbalanced construct uses 80 for target group when feature flag is enabled but container port is not provided',{[ECS_PATTERNS_TARGET_GROUP_PORT_FROM_CONTAINER_PORT]: true},App,(app)=>{
testFutureBehavior('test Fargate multinetworkloadbalanced construct uses custom Port for target group when feature flag is enabled',{[ECS_PATTERNS_TARGET_GROUP_PORT_FROM_CONTAINER_PORT]: true},App,(app)=>{
testFutureBehavior('test Fargate multinetworkloadbalanced construct uses 80 for target group when feature flag is enabled but container port is not provided',{[ECS_PATTERNS_TARGET_GROUP_PORT_FROM_CONTAINER_PORT]: true},App,(app)=>{
0 commit comments