Skip to content

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

@rcollette

Description

@rcollette

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.

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-ecs-patternsRelated to ecs-patterns libraryeffort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.good first issueRelated to contributions. See CONTRIBUTING.mdp2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions