Last active
April 3, 2023 21:19
-
-
Save mikeatlas/bd1be372d12d00ccb20f063e7cf4bef4 to your computer and use it in GitHub Desktop.
pardon some of the mix of underscores and dashes, they may not be consistent... redacting internal values quickly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"taskDefinitionArn": "arn:aws:ecs:us-east-1:0123456789:task-definition/user_code:155", | |
"containerDefinitions": [ | |
{ | |
"name": "user-code-task", | |
"image": "0123456789.dkr.ecr.us-east-1.amazonaws.com/user_code:build-v1.124", | |
"cpu": 0, | |
"portMappings": [ | |
{ | |
"containerPort": 8001, | |
"hostPort": 8001, | |
"protocol": "tcp" | |
} | |
], | |
"essential": true, | |
"environment": [ | |
{ | |
"name": "DAGSTER_DEPLOYMENT", | |
"value": "staging" | |
}, | |
{ | |
"name": "DAGSTER_CURRENT_IMAGE", | |
"value": "0123456789.dkr.ecr.us-east-1.amazonaws.com/user_code:build-v1.124" | |
}, | |
{ | |
"name": "DAGSTER_PIPELINE_TASK_ROLE_ARN", | |
"value": "arn:aws:iam::0123456789:role/mycompany/user_code_task_role" | |
} | |
], | |
"mountPoints": [], | |
"volumesFrom": [], | |
"logConfiguration": { | |
"logDriver": "awslogs", | |
"options": { | |
"awslogs-group": "user-code-log-group-staging", | |
"awslogs-region": "us-east-1", | |
"awslogs-stream-prefix": "user-code-log" | |
}, | |
"secretOptions": [] | |
} | |
} | |
], | |
"family": "user_code_task-task", | |
"taskRoleArn": "arn:aws:iam::0123456789:role/mycompany/user-code-task", | |
"executionRoleArn": "arn:aws:iam::0123456789:role/mycompany/user-code-task-execution", | |
"networkMode": "awsvpc", | |
"revision": 155, | |
"volumes": [], | |
"status": "ACTIVE", | |
"requiresAttributes": [ | |
{ | |
"name": "com.amazonaws.ecs.capability.logging-driver.awslogs" | |
}, | |
{ | |
"name": "ecs.capability.execution-role-awslogs" | |
}, | |
{ | |
"name": "com.amazonaws.ecs.capability.ecr-auth" | |
}, | |
{ | |
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.19" | |
}, | |
{ | |
"name": "com.amazonaws.ecs.capability.task-iam-role" | |
}, | |
{ | |
"name": "ecs.capability.execution-role-ecr-pull" | |
}, | |
{ | |
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.18" | |
}, | |
{ | |
"name": "ecs.capability.task-eni" | |
} | |
], | |
"placementConstraints": [], | |
"compatibilities": [ | |
"EC2", | |
"FARGATE" | |
], | |
"requiresCompatibilities": [ | |
"FARGATE" | |
], | |
"cpu": "256", | |
"memory": "512", | |
"registeredAt": "2023-04-02T19:00:34.669Z", | |
"registeredBy": "arn:aws:sts::0123456789:assumed-role/codebuild=user-code-deploy/AWSCodeBuild", | |
"tags": [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment