Skip to content

Commit

Permalink
add taskdef files for staging and prod
Browse files Browse the repository at this point in the history
  • Loading branch information
sreevalsanmr committed Nov 28, 2023
1 parent dcb7401 commit e3a94c2
Show file tree
Hide file tree
Showing 2 changed files with 190 additions and 0 deletions.
95 changes: 95 additions & 0 deletions prod-taskdef.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"requiresCompatibilities": [
"FARGATE"
],
"inferenceAccelerators": [],
"containerDefinitions": [{
"dnsSearchDomains": null,
"environmentFiles": [],
"entryPoint": null,
"portMappings": [{
"hostPort": 80,
"protocol": "tcp",
"containerPort": 80
}],
"command": null,
"linuxParameters": null,
"cpu": 0,
"environment": null,
"resourceRequirements": null,
"ulimits": null,
"dnsServers": null,
"mountPoints": null,
"workingDirectory": null,
"secrets": null,
"dockerSecurityOptions": null,
"memory": null,
"memoryReservation": null,
"volumesFrom": null,
"stopTimeout": null,
"image": "test",
"startTimeout": null,
"firelensConfiguration": null,
"dependsOn": null,
"disableNetworking": null,
"interactive": null,
"healthCheck": null,
"essential": true,
"links": null,
"hostname": null,
"extraHosts": null,
"pseudoTerminal": null,
"user": null,
"readonlyRootFilesystem": null,
"dockerLabels": null,
"systemControls": null,
"privileged": null,
"name": "docs",
"repositoryCredentials": {
"credentialsParameter": ""
}
}],
"volumes": [],
"networkMode": "awsvpc",
"memory": "1024",
"cpu": "512",
"executionRoleArn": "arn:aws:iam::042947190491:role/docs-TaskRole",
"family": "docs-taskdefinition",
"taskRoleArn": "arn:aws:iam::042947190491:role/docs-TaskRole",
"runtimePlatform": {
"operatingSystemFamily": "LINUX"
},
"tags": [{
"key": "Role",
"value": "frontend-application"
},
{
"key": "ParentService",
"value": "docs"
},
{
"key": "Environment",
"value": "prod"
},
{
"key": "Service",
"value": "docs.polygon.technology"
},
{
"key": "Host",
"value": "AWS"
},
{
"key": "IAC",
"value": "terraform-workspace-aws-prod-applications-eu-west-1-apps-docs-polygon-technology"
},
{
"key": "Team",
"value": "documentation"
},
{
"key": "Name",
"value": "docs-taskdefinition"
}
]
}
95 changes: 95 additions & 0 deletions staging-taskdef.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"requiresCompatibilities": [
"FARGATE"
],
"inferenceAccelerators": [],
"containerDefinitions": [{
"dnsSearchDomains": null,
"environmentFiles": [],
"entryPoint": null,
"portMappings": [{
"hostPort": 80,
"protocol": "tcp",
"containerPort": 80
}],
"command": null,
"linuxParameters": null,
"cpu": 0,
"environment": null,
"resourceRequirements": null,
"ulimits": null,
"dnsServers": null,
"mountPoints": null,
"workingDirectory": null,
"secrets": null,
"dockerSecurityOptions": null,
"memory": null,
"memoryReservation": null,
"volumesFrom": null,
"stopTimeout": null,
"image": "test",
"startTimeout": null,
"firelensConfiguration": null,
"dependsOn": null,
"disableNetworking": null,
"interactive": null,
"healthCheck": null,
"essential": true,
"links": null,
"hostname": null,
"extraHosts": null,
"pseudoTerminal": null,
"user": null,
"readonlyRootFilesystem": null,
"dockerLabels": null,
"systemControls": null,
"privileged": null,
"name": "docs-staging",
"repositoryCredentials": {
"credentialsParameter": ""
}
}],
"volumes": [],
"networkMode": "awsvpc",
"memory": "1024",
"cpu": "512",
"executionRoleArn": "arn:aws:iam::070528468658:role/docs-staging-TaskRole",
"family": "docs-staging-taskdefinition",
"taskRoleArn": "arn:aws:iam::070528468658:role/docs-staging-TaskRole",
"runtimePlatform": {
"operatingSystemFamily": "LINUX"
},
"tags": [{
"key": "Role",
"value": "frontend-application"
},
{
"key": "ParentService",
"value": "docs-staging"
},
{
"key": "Environment",
"value": "staging"
},
{
"key": "Service",
"value": "docs-staging.polygon.technology"
},
{
"key": "Host",
"value": "AWS"
},
{
"key": "IAC",
"value": "terraform-workspace-aws-test-applications-eu-west-1-apps-docs-staging-polygon-technology"
},
{
"key": "Team",
"value": "documentation"
},
{
"key": "Name",
"value": "docs-staging-taskdefinition"
}
]
}

0 comments on commit e3a94c2

Please sign in to comment.