-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstaging-ecs-task.yaml.erb
25 lines (25 loc) · 1.18 KB
/
staging-ecs-task.yaml.erb
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
---
family: <%= family('qbot') %>
taskRoleArn: <%= ecs_task_role('qbot') %>
containerDefinitions:
- name: qbot
image: 038451313208.dkr.ecr.ap-southeast-2.amazonaws.com/qbot:<%= docker_image_tag %>
essential: true
cpu: 64
memoryReservation: 192
memory: 400
syslogDestination: <%= "tcp+tls://#{kms_decrypt('AQECAHgBe/Bo6N6P3DZu2j8rSbOworqekgIES5evTHicjBhp6AAAAHsweQYJKoZIhvcNAQcGoGwwagIBADBlBgkqhkiG9w0BBwEwHgYJYIZIAWUDBAEuMBEEDNHGzznV4UrDN1HF1wIBEIA42hkDPhlzZwL8FIHT2parumqRRptVioeEEky7cU0YaOR59Lxfg6vAlMaSJOAwLNR/tsGCIoqb8yc=')}" %>
syslogAppName: QBot-Staging
environment:
- name: REPLACE_OS_VARS
value: "true"
- name: AWS_REGION
value: ap-southeast-2
- name: AWS_STACKS
value: staging-raisebook,staging-bookbuild,staging-tools,staging-backoffice,staging-backdock
- name: WORKERS_PER_QUEUE
value: "1"
- name: CONFIG_POLL_DELAY_SEC
value: "120"
- name: ROLLBAR_ACCESS_TOKEN
value: <%= kms_decrypt('AQECAHgBe/Bo6N6P3DZu2j8rSbOworqekgIES5evTHicjBhp6AAAAH4wfAYJKoZIhvcNAQcGoG8wbQIBADBoBgkqhkiG9w0BBwEwHgYJYIZIAWUDBAEuMBEEDP0b/i3C8s5MhE3/nwIBEIA7jmL2pcygkMQ1sNmvBZHqnMUFqfBLqayLjOY5fNWE2YnxyZcGCaoiD8vPOBJWdaMeDTRJVdD3OETqyOg=') %>