-
Notifications
You must be signed in to change notification settings - Fork 0
/
envs.makefile
65 lines (53 loc) · 2.06 KB
/
envs.makefile
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# default localhost env vars
export PULUMI_CONFIG_PASSPHRASE ?= lsgdc-432
export LOCALSTACK_ENDPOINT=http://host.docker.internal:4566
export APP_NAME = lsgdc
export SITE_HOST_NAME = lsgdc
export APP_VERSION = 0.0.1
export API_VERSION = v1
export AWS_REGION=us-west-2
export IS_LOCAL=true
export LOGGING_LEVEL=DEBUG
export PULUMI_BACKEND_URL ?= file:///root/shared/global-iac
export AWS_ACCOUNT=000000000000
export AWS_ACCOUNT_TYPE=LOCALSTACK
export STACK_SUFFIX=local
export AUTH0_AUDIENCE=LSGDC
export AUTH0_DOMAIN=http://host.docker.internal:3001
export AUTH0_CLIENT_ID=LSGDC
export HOSTED_ZONE_NAME=non.local
export ACTIVE_PROFILES=none
# Pattern specific variables for each pipeline
local-%: export LOCALSTACK=1
local-lsgdc%: export STACK_DIR=iac/lsgdc
local-lsgdc%: export STACK_PREFIX=lsgdc
local-toplevel%: export STACK_DIR=iac/top-level
local-toplevel%: export STACK_PREFIX=toplevel
local-toplevel%: export VPC_CIDR_BLOCK=10.10.0.0/16
local-db%: export STACK_DIR=iac/db
local-db%: export STACK_PREFIX=db
local-jump%: export STACK_DIR=iac/jumphost
local-jump%: export STACK_PREFIX=jump
#NONPROD pipeline vars
non%: export DOCKER_DEFAULT_PLATFORM=linux/arm64
non%: export IS_LOCAL=false
non%: export LOGGING_LEVEL=INFO
non%: export AWS_ACCOUNT=YOUR_NONPRODUCTION_AWS_ACCOUNT_ID
non%: export AWS_ACCOUNT_TYPE=NONPROD
non%: export AWS_REGION=us-west-2
non%: export STACK_SUFFIX=non
non%: export PULUMI_BACKEND_URL=s3://<YOUR S3 PULUMI STATE BACKEND BUCKET>
non%: export HOSTED_ZONE_ID=YOUR_NONPROD_R53_HOSTED_ZONE_ID_TO_DEPLOY_THE_UI_TO
non%: export HOSTED_ZONE_NAME=YOUR.HOSTEDZONE.COM
non%: export ACTIVE_PROFILES="use-route53"
non-lsgdc%: export STACK_DIR=iac/lsgdc
non-lsgdc%: export STACK_PREFIX=lsgdc
non-toplevel%: export STACK_DIR=iac/top-level
non-toplevel%: export STACK_PREFIX=toplevel
non-toplevel%: export VPC_CIDR_BLOCK=10.72.0.0/16
non-db%: export STACK_DIR=iac/db
non-db%: export STACK_PREFIX=db
non-jump%: export STACK_DIR=iac/jumphost
non-jump%: export STACK_PREFIX=jump
uname_m := $(shell uname -m) # store the output of the command in a variable
export LOCAL_ARCH=$(uname_m)