Skip to content

Feature Request: Add ECS Task Role Support #175

@ghost

Description

Description
The plugin currently supports EC2 Instance Roles but lacks support for ECS Task Roles.

Current Behavior

EC2 Instance Roles: Supported via http://169.254.169.254
ECS Task Roles: Not supported

Expected Behavior
Support ECS Task Roles by implementing the ECS metadata endpoint and credential retrieval.

Implementation Needed

Check for AWS_CONTAINER_CREDENTIALS_RELATIVE_URI environment variable

Add ECS metadata endpoint support: http://169.254.170.2

Extend EC2_Metadata_Service or create ECS_Metadata_Service

Use Case
Enable the plugin to work seamlessly in ECS Fargate/EC2 tasks with IAM Task Roles

Workaround
Currently requires manual credential injection via environment variables or custom filters.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions