-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpipeline_env.sh
More file actions
40 lines (30 loc) · 1.24 KB
/
Copy pathpipeline_env.sh
File metadata and controls
40 lines (30 loc) · 1.24 KB
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
export_env(){
##########################################################################
##########################################################################
##
## don't customize these lines unless your goal is
## to change the IaC directory structure
##
##########################################################################
##########################################################################
export STACK_NAME="{{ PipelineStackName }}"
export REGION='{{ Region }}'
##
## stage templates in S3? 1=yes, 0=no
##
export STAGE_TEMPLATE=0
##########################################################################
##########################################################################
##
## DO NOT customize these lines
##
##########################################################################
##########################################################################
export WORKING_DIR=$(pwd)
export INFRA_PATH='infra/aws'
export PARAM_PATH='infra/aws/params'
export CF_TEMPLATE_PATH=$INFRA_PATH'/pipeline/pipeline.json'
export CF_PARAM_PATH=$PARAM_PATH'/pipeline_params.json'
export LOG_PATH=$WORKING_DIR'/logs/'
}
export_env