-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathexample.toml
30 lines (25 loc) · 1.06 KB
/
example.toml
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
profile = "prof" # AWS profile
cluster = "prof-ite" # name of ECS cluster
task_definition = "prof-ite-app" # name of the task definition
container_name = "app" # name of the container
log_group = "ecs-tool"
[deploy]
services = ["app", "tasks"]
[ssh]
shell = "bash"
service = "app"
container_name = "app"
instance_user = "ec2-user"
[run]
service = "app" # Name of service to run one off task in
launch_type = "EC2" # FARGATE if the task_definition requires FARGATE
# allows to decrypt ejson files without extra dependencies
# https://github.com/Shopify/ejson
# and writes decrypted JSON string as an SSM Parameter
# Meant to be used with https://github.com/springload/ssm-parent
# So that the SSM parameter gets injected as env vars to the application
[ejson]
pick_keys = ["common", "preview"] # picks "common" and "preview" keys from the ejson file and merges them with override, from left to right
#processor = ["jq", "-c", ".common+.preview"] # does the same by using jq
kms_key = "alias/prof-ite" # the kms key to encrypt with
name = "/prof/prof/ssm" # the SSM parameter path