Skip to content

Instantly share code, notes, and snippets.

@fabidick22
Created August 19, 2021 16:01
Show Gist options
  • Save fabidick22/1214cf249471f4bca96bef7f762cbcd5 to your computer and use it in GitHub Desktop.
Save fabidick22/1214cf249471f4bca96bef7f762cbcd5 to your computer and use it in GitHub Desktop.
environment variables defined in task definition by aws (ECS EC2)
AWS_EXECUTION_ENV=AWS_ECS_EC2
# more details about this endpoints: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-metadata-endpoint-v4.html
ECS_CONTAINER_METADATA_URI_V4=http://1.2.3.4/v4/291b4307-more-token
ECS_CONTAINER_METADATA_URI=http://1.2.3.4/v3/291b4307-more-token
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment