Skip to content

Instantly share code, notes, and snippets.

@haric
Created November 25, 2020 17:19
Show Gist options
  • Select an option

  • Save haric/9264af49fdf226967a4c2efd3b3aab87 to your computer and use it in GitHub Desktop.

Select an option

Save haric/9264af49fdf226967a4c2efd3b3aab87 to your computer and use it in GitHub Desktop.
ECS Task Definition Sample
[{
"name": "web",
"image": "988098771143.dkr.ecr.us-east-1.amazonaws.com/ocicb:Latest",
"cpu": 256,
"memory": 512,
"essential": true,
"portMappings": [{
"containerPort": 8080,
"hostPort": 8080
}],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "awslogs-secops",
"awslogs-region": "us-east-1",
"awslogs-stream-prefix": "awslogs-secops-httpd"
}
}
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment