Skip to content

Commit fbad631

Browse files
committed
Update readme
1 parent c58deeb commit fbad631

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

README.md

+29
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,35 @@ POS will be responsible for:
99
* Data validation
1010

1111

12+
>**terraform**: Infrastructure deployment for the release. Span off an Elasticsearch Server and loads the data into it.
13+
14+
Eg. deployment_context.tfvars
15+
```
16+
config_release_name = "pos"
17+
18+
config_gcp_default_region = "europe-west1"
19+
config_gcp_default_zone = "europe-west1-d"
20+
config_project_id = "open-targets-eu-dev"
21+
22+
config_gs_etl = "open-targets-data-releases/21.04/output"
23+
24+
config_vm_elastic_search_vcpus = "4"
25+
config_vm_elastic_search_mem = "20480"
26+
config_vm_elastic_search_version = "7.9.0"
27+
config_vm_elastic_search_boot_disk_size = 350
28+
29+
config_vm_pos_machine_type = "n1-standard-8"
30+
config_vm_pos_boot_image = "debian-10"
31+
32+
```
33+
34+
Commands:
35+
```
36+
gcloud auth application-default login
37+
terraform init
38+
terraform plan -var-file="deployment_context.tfvars"
39+
```
40+
1241
# Copyright
1342
Copyright 2018-2021 Open Targets
1443

0 commit comments

Comments
 (0)