You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/aws/lambda/TM-Extractor/README.md
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,29 @@ Before running deployment, make sure you have the following environment variable
25
25
-`TF_VAR_active_projects_api_base_url`, Your [tasking-manager](https://github.com/hotosm/tasking-manager) instance.
26
26
Defaults to https://tasking-manager-staging-api.hotosm.org/api/v2
27
27
28
+
## Inputs and Local Variables
29
+
`env.hcl` within each deployment environment overrides the input vars.
30
+
```
31
+
locals {
32
+
environment = "stag"
33
+
# Appends to all the resource names eg: tm-extrator-hotosm-lambda-stag
34
+
35
+
account_name = "hotosm"
36
+
# Also appends to the resource names for better naming
37
+
38
+
aws_profile = "default"
39
+
# Acts as AWS_PROFILE environment var, If you have multiple profile defined in ~/.aws/credentials, you can set these so each envionment deployment uses its own set of profiles.
40
+
41
+
aws_region = "ap-south-1"
42
+
# The AWS region the resources should be created on.
43
+
44
+
application = "tasking-manager"
45
+
team = "HOTOSM"
46
+
creator = "HOTOSM"
47
+
owner = "HOTOSM"
48
+
# Above are used for generating tags for AWS resources.
49
+
}
50
+
```
28
51
29
52
## Plan and Apply
30
53
-`cd` into `scripts/aws/lambda/TM-Extractor/<your-environment-here>/tm-extractor`.
0 commit comments