Skip to content

Instantly share code, notes, and snippets.

@rssnyder
Last active June 2, 2026 16:47
Show Gist options
  • Select an option

  • Save rssnyder/4f8cf53369f19f66e4a3105738be282b to your computer and use it in GitHub Desktop.

Select an option

Save rssnyder/4f8cf53369f19f66e4a3105738be282b to your computer and use it in GitHub Desktop.
<+artifacts.primary.image>:<+artifacts.primary.tag>
{
"deploymentConfiguration": {
"maximumPercent": 200,
"minimumHealthyPercent": 100
},
"desiredCount": 1,
"launchType": "FARGATE",
"loadBalancers": [
{
"containerName": "web",
"containerPort": 3000,
"targetGroupArn": "<+targetGroupArn>"
}
],
"networkConfiguration": {
"awsvpcConfiguration": {
"assignPublicIp": "DISABLED",
"securityGroups": [
"sg-0c1a417950b6f7bd8"
],
"subnets": [
"subnet-022b0cf63cfa2b43e",
"subnet-0f5aae3a0ad452f8e"
]
}
},
"serviceName": "web"
}
{
"containerDefinitions": [
{
"essential": true,
"image": "<+artifacts.primary.image>",
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-create-group": "true",
"awslogs-group": "/ecs/peters-pipers-prod",
"awslogs-region": "us-west-2",
"awslogs-stream-prefix": "web"
}
},
"name": "web",
"portMappings": [
{
"containerPort": 3000,
"protocol": "tcp"
}
]
}
],
"cpu": "512",
"executionRoleArn": "arn:aws:iam::664418987337:role/peters-pipers-prod-exec-20260530235332429500000001",
"family": "web-task",
"memory": "1024",
"networkMode": "awsvpc",
"requiresCompatibilities": [
"FARGATE"
],
"runtimePlatform": {
"cpuArchitecture": "ARM64",
"operatingSystemFamily": "LINUX"
},
"taskRoleArn": "arn:aws:iam::664418987337:role/peters-pipers-prod-task-20260530235332429700000003"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment