Created
May 23, 2022 07:55
-
-
Save MrMikeFloyd/fe0c176bac7c11a60a2ed73f4293aba1 to your computer and use it in GitHub Desktop.
ECS task definition for automated CodeDeploy deployment. The execution role ARN needs to be replaced before checking this file into version control for the deployment to succeed. Find the most recent version here: https://github.com/codecentric/accelerate-kickstarter-aws/blob/main/cloud-bootstrap-app/taskdef-prod.json.template
This file contains 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
{ | |
"family": "cloud-bootstrap", | |
"executionRoleArn": "${TASK_EXEC_ROLE_ARN}", | |
"networkMode": "awsvpc", | |
"cpu": "1024", | |
"memory": "2048", | |
"requiresCompatibilities": [ | |
"FARGATE" | |
], | |
"containerDefinitions": [ | |
{ | |
"name": "cloud-bootstrap", | |
"image": "<IMAGE_NAME>", | |
"logConfiguration": { | |
"logDriver": "awslogs", | |
"options": { | |
"awslogs-group": "cc-cloud-bootstrap-prod", | |
"awslogs-region": "eu-central-1", | |
"awslogs-stream-prefix": "ecs" | |
} | |
}, | |
"portMappings": [ | |
{ | |
"containerPort": 8080, | |
"protocol": "tcp" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment