Skip to content

Commit

Permalink
Added ECS Task metadata endpoint
Browse files Browse the repository at this point in the history
Sometimes,  a Github Runner can run inside a ECS Task and this metadata can be used to fetch the respective Variables

Ref: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-metadata-endpoint-v2.html
  • Loading branch information
rtcms committed Mar 19, 2024
1 parent f04e676 commit e280cb5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/intercept.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@
description: 'Needed for instance metadata'
destination: '169.254.169.254'
action: 'allow'
- name: 'Reqd for instance metadata'
description: 'Needed for instance metadata'
destination: '169.254.170.2'
action: 'allow'
"""


Expand Down

0 comments on commit e280cb5

Please sign in to comment.