Skip to content

Commit e3a94c2

Browse files
committed
add taskdef files for staging and prod
1 parent dcb7401 commit e3a94c2

File tree

2 files changed

+190
-0
lines changed

2 files changed

+190
-0
lines changed

prod-taskdef.json

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
{
2+
"requiresCompatibilities": [
3+
"FARGATE"
4+
],
5+
"inferenceAccelerators": [],
6+
"containerDefinitions": [{
7+
"dnsSearchDomains": null,
8+
"environmentFiles": [],
9+
"entryPoint": null,
10+
"portMappings": [{
11+
"hostPort": 80,
12+
"protocol": "tcp",
13+
"containerPort": 80
14+
}],
15+
"command": null,
16+
"linuxParameters": null,
17+
"cpu": 0,
18+
"environment": null,
19+
"resourceRequirements": null,
20+
"ulimits": null,
21+
"dnsServers": null,
22+
"mountPoints": null,
23+
"workingDirectory": null,
24+
"secrets": null,
25+
"dockerSecurityOptions": null,
26+
"memory": null,
27+
"memoryReservation": null,
28+
"volumesFrom": null,
29+
"stopTimeout": null,
30+
"image": "test",
31+
"startTimeout": null,
32+
"firelensConfiguration": null,
33+
"dependsOn": null,
34+
"disableNetworking": null,
35+
"interactive": null,
36+
"healthCheck": null,
37+
"essential": true,
38+
"links": null,
39+
"hostname": null,
40+
"extraHosts": null,
41+
"pseudoTerminal": null,
42+
"user": null,
43+
"readonlyRootFilesystem": null,
44+
"dockerLabels": null,
45+
"systemControls": null,
46+
"privileged": null,
47+
"name": "docs",
48+
"repositoryCredentials": {
49+
"credentialsParameter": ""
50+
}
51+
}],
52+
"volumes": [],
53+
"networkMode": "awsvpc",
54+
"memory": "1024",
55+
"cpu": "512",
56+
"executionRoleArn": "arn:aws:iam::042947190491:role/docs-TaskRole",
57+
"family": "docs-taskdefinition",
58+
"taskRoleArn": "arn:aws:iam::042947190491:role/docs-TaskRole",
59+
"runtimePlatform": {
60+
"operatingSystemFamily": "LINUX"
61+
},
62+
"tags": [{
63+
"key": "Role",
64+
"value": "frontend-application"
65+
},
66+
{
67+
"key": "ParentService",
68+
"value": "docs"
69+
},
70+
{
71+
"key": "Environment",
72+
"value": "prod"
73+
},
74+
{
75+
"key": "Service",
76+
"value": "docs.polygon.technology"
77+
},
78+
{
79+
"key": "Host",
80+
"value": "AWS"
81+
},
82+
{
83+
"key": "IAC",
84+
"value": "terraform-workspace-aws-prod-applications-eu-west-1-apps-docs-polygon-technology"
85+
},
86+
{
87+
"key": "Team",
88+
"value": "documentation"
89+
},
90+
{
91+
"key": "Name",
92+
"value": "docs-taskdefinition"
93+
}
94+
]
95+
}

staging-taskdef.json

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
{
2+
"requiresCompatibilities": [
3+
"FARGATE"
4+
],
5+
"inferenceAccelerators": [],
6+
"containerDefinitions": [{
7+
"dnsSearchDomains": null,
8+
"environmentFiles": [],
9+
"entryPoint": null,
10+
"portMappings": [{
11+
"hostPort": 80,
12+
"protocol": "tcp",
13+
"containerPort": 80
14+
}],
15+
"command": null,
16+
"linuxParameters": null,
17+
"cpu": 0,
18+
"environment": null,
19+
"resourceRequirements": null,
20+
"ulimits": null,
21+
"dnsServers": null,
22+
"mountPoints": null,
23+
"workingDirectory": null,
24+
"secrets": null,
25+
"dockerSecurityOptions": null,
26+
"memory": null,
27+
"memoryReservation": null,
28+
"volumesFrom": null,
29+
"stopTimeout": null,
30+
"image": "test",
31+
"startTimeout": null,
32+
"firelensConfiguration": null,
33+
"dependsOn": null,
34+
"disableNetworking": null,
35+
"interactive": null,
36+
"healthCheck": null,
37+
"essential": true,
38+
"links": null,
39+
"hostname": null,
40+
"extraHosts": null,
41+
"pseudoTerminal": null,
42+
"user": null,
43+
"readonlyRootFilesystem": null,
44+
"dockerLabels": null,
45+
"systemControls": null,
46+
"privileged": null,
47+
"name": "docs-staging",
48+
"repositoryCredentials": {
49+
"credentialsParameter": ""
50+
}
51+
}],
52+
"volumes": [],
53+
"networkMode": "awsvpc",
54+
"memory": "1024",
55+
"cpu": "512",
56+
"executionRoleArn": "arn:aws:iam::070528468658:role/docs-staging-TaskRole",
57+
"family": "docs-staging-taskdefinition",
58+
"taskRoleArn": "arn:aws:iam::070528468658:role/docs-staging-TaskRole",
59+
"runtimePlatform": {
60+
"operatingSystemFamily": "LINUX"
61+
},
62+
"tags": [{
63+
"key": "Role",
64+
"value": "frontend-application"
65+
},
66+
{
67+
"key": "ParentService",
68+
"value": "docs-staging"
69+
},
70+
{
71+
"key": "Environment",
72+
"value": "staging"
73+
},
74+
{
75+
"key": "Service",
76+
"value": "docs-staging.polygon.technology"
77+
},
78+
{
79+
"key": "Host",
80+
"value": "AWS"
81+
},
82+
{
83+
"key": "IAC",
84+
"value": "terraform-workspace-aws-test-applications-eu-west-1-apps-docs-staging-polygon-technology"
85+
},
86+
{
87+
"key": "Team",
88+
"value": "documentation"
89+
},
90+
{
91+
"key": "Name",
92+
"value": "docs-staging-taskdefinition"
93+
}
94+
]
95+
}

0 commit comments

Comments
 (0)