Skip to content

Commit

Permalink
Merge pull request #152 from credebl/fix/taskdef-changes
Browse files Browse the repository at this point in the history
Fix: taskdef file changes
  • Loading branch information
Sheetal-ayanworks authored Jul 17, 2024
2 parents ff7b17f + b87a6b9 commit 9f3f83d
Showing 1 changed file with 11 additions and 18 deletions.
29 changes: 11 additions & 18 deletions taskdef/credo-taskdef.json → taskdef/credo-fargate-taskdef.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"family": "AGENT_Platform-admin_TASKDEFIITION",
"family": "QA-AFJ-TASKDEFINITION",
"containerDefinitions": [
{
"name": "Platform-admin",
"image": "%REPOSITORY_URI%:CREDO_v_%BUILD_NUMBER%",
"cpu": 256,
"memory": 512,
"cpu": 0,
"portMappings": [
{
"containerPort": 8004,
Expand All @@ -22,7 +21,7 @@
"command": [
"--auto-accept-connections",
"--config",
"/config/d208988a-0bb0-4620-89af-b948987dd74c_Platform-admin.json"
"/config/c15f48c9-1d0e-46b6-8915-b7689e255a22_Platform-admin.json"
],
"environment": [
{
Expand All @@ -38,45 +37,39 @@
],
"mountPoints": [
{
"sourceVolume": "agent-config",
"sourceVolume": "config",
"containerPath": "/config",
"readOnly": true
"readOnly": false
}
],
"volumesFrom": [],
"ulimits": [],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/QA-AFJ-TASKDEFINITION",
"awslogs-create-group": "true",
"awslogs-group": "/ecs/AGENT_Platform-admin_TASKDEFIITION",
"awslogs-region": "me-central-1",
"awslogs-region": "ap-south-1",
"awslogs-stream-prefix": "ecs"
}
}
}

],
"taskRoleArn": "arn:aws:iam::${ACCOUNT_ID}:role/ecsTaskExecutionRole",
"executionRoleArn": "arn:aws:iam::${ACCOUNT_ID}:role/ecsTaskExecutionRole",
"networkMode": "awsvpc",
"placementConstraints": [],
"requiresCompatibilities": [
"FARGATE"
],
"cpu": "256",
"memory": "512",
"cpu": "2048",
"memory": "4096",
"volumes": [
{
"name": "agent-config",
"name": "config",
"efsVolumeConfiguration": {
"fileSystemId": "${EFS}",
"rootDirectory": "/",
"transitEncryption": "ENABLED",
"authorizationConfig": {
"accessPointId": "${AGENT_CONFIG_ACCESS_POINT}",
"iam": "DISABLED"
}
"rootDirectory": "/"
}
}
]
Expand Down

0 comments on commit 9f3f83d

Please sign in to comment.