Skip to content

ecsservicediscovery: Add ec2 instance ID to exported labels#2048

Open
brancz wants to merge 1 commit intoaws:mainfrom
brancz:ecs-ec2instanceid
Open

ecsservicediscovery: Add ec2 instance ID to exported labels#2048
brancz wants to merge 1 commit intoaws:mainfrom
brancz:ecs-ec2instanceid

Conversation

@brancz
Copy link

@brancz brancz commented Mar 10, 2026

Description of the issue

It would be nice to have access to the ec2 instance ID the ECS task is running on as a label.

Description of changes

Add the ec2 instance ID as a label.

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tests

Added it to unit tests.

Requirements

  1. Run make fmt and make fmt-sh
  2. Run make lint

Integration Tests

To run integration tests against this PR, add the ready for testing label.

@brancz brancz requested a review from a team as a code owner March 10, 2026 19:00
@brancz
Copy link
Author

brancz commented Mar 10, 2026

@JayPolanco

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant