2024-01-03 17:15:03 +01:00
|
|
|
{
|
|
|
|
"executionRoleArn": "arn:aws:iam::<AWS_ACCOUNT_ID>:role/2fas-pass_ecsTaskExecutionRole",
|
2024-01-25 19:27:39 +01:00
|
|
|
"taskRoleArn": "arn:aws:iam::<AWS_ACCOUNT_ID>:role/2fas-pass_ecsTaskRole",
|
2024-01-03 17:15:03 +01:00
|
|
|
"containerDefinitions": [
|
|
|
|
{
|
|
|
|
"name": "2fas-pass",
|
|
|
|
"image": "<IMAGE_NAME>",
|
|
|
|
"essential": true,
|
|
|
|
"portMappings": [
|
|
|
|
{
|
|
|
|
"hostPort": 8082,
|
|
|
|
"protocol": "tcp",
|
|
|
|
"containerPort": 8082
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"environmentFiles": [
|
|
|
|
{
|
|
|
|
"value": "arn:aws:s3:::2fas-production-env/pass.env",
|
|
|
|
"type": "s3"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"secrets": [
|
2024-05-06 08:27:08 +02:00
|
|
|
{
|
|
|
|
"name": "FIREBASE_SA",
|
|
|
|
"valueFrom": "arn:aws:secretsmanager:us-east-2:<AWS_ACCOUNT_ID>:secret:prod/pass-8pVN76:pass_firebase_sa::"
|
|
|
|
}
|
2024-01-03 17:15:03 +01:00
|
|
|
],
|
|
|
|
"logConfiguration": {
|
|
|
|
"logDriver": "awslogs",
|
|
|
|
"options": {
|
|
|
|
"awslogs-group" : "/ecs/2fas-pass",
|
|
|
|
"awslogs-region": "us-east-2",
|
|
|
|
"awslogs-stream-prefix": "ecs"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"requiresCompatibilities": [
|
|
|
|
"FARGATE"
|
|
|
|
],
|
|
|
|
"networkMode": "awsvpc",
|
2024-01-25 19:20:09 +01:00
|
|
|
"family": "2fas-pass",
|
2024-01-03 17:15:03 +01:00
|
|
|
"cpu": "256",
|
|
|
|
"memory": "512"
|
|
|
|
}
|