aws / aws/aws-cdk

(ecs-patterns): QueueProcessingFargateService - Allow task role to be specified

Open
#16,297 3 comments 0 reactions 0 assignees View on GitHub
@aws-cdk/aws-ecs-patterns effort/small feature-request good first issue p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
1d 19h
Merged PRs (30d)
71

Description

Allow the `Role` used by the `Task` created by the service to be specified in configuration

### Use Case
Allow for customization of the `Role` such as setting the role name.

### Proposed Solution

I'm torn here. What is really needed is come consistency between the ECS patterns when it comes to configuration. ApplicationLoadBalancedFargateService provides an imageOptions configuration property that contains an optional Role property. QueueProcessingFargateService only has an image property, so it would appear that `taskRole` would need to be defined on the configuration root.

* [ ] :wave: I may be able to implement this feature request
* [ ] :warning: This feature might incur a breaking change

---

This is a :rocket: Feature Request

Contributor guide

Open the contributing guide

Research direction

Start by comparing the configuration of QueueProcessingFargateService with ApplicationLoadBalancedFargateService, focusing on how the task Role is exposed. Determine the compatible configuration shape and whether the change affects existing callers. Done means users can specify the task Role, including a custom role name, with consistent ECS pattern configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.