-
Notifications
You must be signed in to change notification settings - Fork 0
/
ima-dev.json
75 lines (75 loc) · 2.59 KB
/
ima-dev.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"family": "ima-dev",
"containerDefinitions": [
{
"image": "358682810880.dkr.ecr.eu-west-3.amazonaws.com/ima-dev:latest",
"name": "ima-dev",
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/iam",
"awslogs-region": "eu-west-3",
"awslogs-stream-prefix": "ima-dev"
}
},
"cpu": 900,
"memory": 900,
"essential": true,
"environment": [
{
"name": "MYSQL_HOST",
"value": "db.cvb7l6mp7lvr.eu-west-3.rds.amazonaws.com"
},
{
"name": "MYSQL_PORT",
"value": "3306"
},
{
"name": "MYSQL_DB_NAME",
"value": "management"
}
],
"secrets": [
{
"name": "AWS_ACCESS_KEY_ID",
"valueFrom": "arn:aws:secretsmanager:eu-west-3:358682810880:secret:Dev-Credentials-KKgoLq:AWS_ACCESS_KEY_ID::"
},
{
"name": "AWS_SECRET_ACCESS_KEY",
"valueFrom": "arn:aws:secretsmanager:eu-west-3:358682810880:secret:Dev-Credentials-KKgoLq:AWS_SECRET_ACCESS_KEY::"
},
{
"name": "MYSQL_USER",
"valueFrom": "arn:aws:secretsmanager:eu-west-3:358682810880:secret:Dev-Credentials-KKgoLq:MYSQL_USER::"
},
{
"name": "MYSQL_PASSWORD",
"valueFrom": "arn:aws:secretsmanager:eu-west-3:358682810880:secret:Dev-Credentials-KKgoLq:MYSQL_PASSWORD::"
},
{
"name": "MQ_USER",
"valueFrom": "arn:aws:secretsmanager:eu-west-3:358682810880:secret:Dev-Credentials-KKgoLq:MQ_USER::"
},
{
"name": "MQ_PASSWORD",
"valueFrom": "arn:aws:secretsmanager:eu-west-3:358682810880:secret:Dev-Credentials-KKgoLq:MQ_PASSWORD::"
}
]
}
],
"networkMode": "awsvpc",
"taskRoleArn": "arn:aws:iam::358682810880:role/ecsTaskExecutionRole",
"executionRoleArn": "arn:aws:iam::358682810880:role/ecsTaskExecutionRole",
"cpu": "900",
"memory": "900",
"tags": [
{
"key": "ecs:taskDefinition:createdFrom",
"value": "ecs-console-v2"
},
{
"key": "ENVIRONMENT",
"value": "dev"
}
]
}