-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenvironment.dev
44 lines (33 loc) · 1.27 KB
/
environment.dev
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
# Tag of the Docker image
image_tag=0.8.9
# Deployment stage:
deployment_stage=dev
# Source of the matrix file: {fresh, canned}:
matrix_source=canned
# To omit matrix files set to --blacklist, otherwise leave it blank:
blacklist=
# Integer between 300 and 2000:
min_gene_count=1200
# The name of the cluster the task runs in (as it will appear on AWS ECS):
cluster_name=data-portal-summary-stats-fargate
# Number of CPU units (1024 is equivalent to 1 core):
dpss_task_cpu=2048
# RAM allocated to the container instance [MiB]:
dpss_task_memory=16384
# AWS security group ID:
dpss_security_group_id=sg-095dc7a781d1d6744
# AWS virtual private cloud ID.
dpss_vpc_id=vpc-0b94af0287c8aff49
# Set environment variables for Terraform:
export TF_VAR_acc_number=$(aws sts get-caller-identity | jq -r .Account)
export TF_VAR_aws_region=$(aws configure get region)
export TF_VAR_image_tag=$image_tag
export TF_VAR_deployment_stage=$deployment_stage
export TF_VAR_matrix_source=$matrix_source
export TF_VAR_blacklist=$blacklist
export TF_VAR_min_gene_count=$min_gene_count
export TF_VAR_cluster_name=$cluster_name
export TF_VAR_dpss_task_cpu=$dpss_task_cpu
export TF_VAR_dpss_task_memory=$dpss_task_memory
export TF_VAR_dpss_security_group_id=$dpss_security_group_id
export TF_VAR_dpss_vpc_id=$dpss_vpc_id