-
Notifications
You must be signed in to change notification settings - Fork 0
/
notification-module-dev.json
107 lines (107 loc) · 4.07 KB
/
notification-module-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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"family": "notification-module-dev",
"containerDefinitions": [
{
"image": "358682810880.dkr.ecr.eu-west-3.amazonaws.com/notification-module-dev:latest",
"name": "notification-module-dev",
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/notification-module",
"awslogs-region": "eu-west-3",
"awslogs-stream-prefix": "notification-module"
}
},
"cpu": 900,
"memory": 900,
"essential": true,
"environment": [
{
"name": "RABBIT_MQ_HOST",
"value": "b-fe75761b-1ee6-4ee3-a5eb-5a3c76d269a1.mq.eu-west-3.amazonaws.com"
},
{
"name": "RABBIT_MQ_PORT",
"value": "5671"
},
{
"name": "RABBIT_MQ_SSL",
"value": "true"
},
{
"name": "RABBIT_MQ_EXCHANGE_NAME",
"value": "notification-request-exchange"
},
{
"name": "RABBIT_MQ_QUEUE_NAME",
"value": "notification-request-queue"
},
{
"name": "ALERT_EMAIL_FROM",
"value": "pedro.dld@ua.pt"
},
{
"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": "RABBIT_MQ_USERNAME",
"valueFrom": "arn:aws:secretsmanager:eu-west-3:358682810880:secret:notification-module-QVJ6mD:RABBIT_MQ_USERNAME::"
},
{
"name": "RABBIT_MQ_PASSWORD",
"valueFrom": "arn:aws:secretsmanager:eu-west-3:358682810880:secret:notification-module-QVJ6mD:RABBIT_MQ_PASSWORD::"
},
{
"name": "AWS_ACCESS_KEY_ID",
"valueFrom": "arn:aws:secretsmanager:eu-west-3:358682810880:secret:notification-module-QVJ6mD:AWS_ACCESS_KEY_ID::"
},
{
"name": "AWS_SECRET_ACCESS_KEY",
"valueFrom": "arn:aws:secretsmanager:eu-west-3:358682810880:secret:notification-module-QVJ6mD:AWS_SECRET_ACCESS_KEY::"
},
{
"name": "TWILIO_ACCOUNT_SID",
"valueFrom": "arn:aws:secretsmanager:eu-west-3:358682810880:secret:notification-module-QVJ6mD:TWILIO_ACCOUNT_SID::"
},
{
"name": "TWILIO_AUTH_TOKEN",
"valueFrom": "arn:aws:secretsmanager:eu-west-3:358682810880:secret:notification-module-QVJ6mD:TWILIO_AUTH_TOKEN::"
},
{
"name": "MYSQL_USER",
"valueFrom": "arn:aws:secretsmanager:eu-west-3:358682810880:secret:notification-module-QVJ6mD:MYSQL_USER::"
},
{
"name": "MYSQL_PASSWORD",
"valueFrom": "arn:aws:secretsmanager:eu-west-3:358682810880:secret:notification-module-QVJ6mD:MYSQL_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"
}
]
}