[ecs-patterns] taskDefinition option different between Fargate ALB and QueueProcessing services #10909
Labels
@aws-cdk/aws-ecs-patterns
Related to ecs-patterns library
breaking-change
This issue requires a breaking change to remediate.
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
ecs-patterns-v2
effort/medium
Medium work item – several days of effort
feature/pattern
Feature requests related to high level L3 pattern libraries
feature-request
A feature should be added or improved.
p2
❓
The Question
The signature for creating a
ApplicationLoadBalancedFargateService
contains ataskDefinition
parameter which is expected for aFargateTaskDefinition
. However, this option is missing for aQueueProcessingFargateService
.I was expecting to be able to customise the taskRole, but there could be reasons why you dont specify it for this service - alternatively it could be an API inconsistency so thought I best raise it in case it's not just me!
Environment
Other information
The documentation for the relevant option is here:
https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-ecs-patterns.ApplicationLoadBalancedFargateService.html
But missing from here:
https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-ecs-patterns.QueueProcessingFargateService.html
The text was updated successfully, but these errors were encountered: