-
Notifications
You must be signed in to change notification settings - Fork 17
/
Makefile.config.example
98 lines (79 loc) · 3.15 KB
/
Makefile.config.example
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# ================================= READ ME ================================= #
# For building artifacts (`make build`), no configuration is necessary.
# For deploying a dev stack (`make deploy`), all variables marked with
#
# REQUIRED_FOR_DEPLOY!
#
# Must be replaced with values specific to your environment.
# =========================================================================== #
##############
# TEA config #
##############
# The name of the CloudFormation stack to deploy to.
# For development, this should be a constant value. If code is changed the
# stack will be updated with the new zip files.
STACK_NAME := thin-egress-app-dev
# S3 bucket that will contain the build artifacts
CODE_BUCKET := REQUIRED_FOR_DEPLOY!
# Object prefix for artifacts in the code bucket
CODE_PREFIX := $(STACK_NAME)/
# S3 bucket that will contain the configuration files such as the bucket map
CONFIG_BUCKET := REQUIRED_FOR_DEPLOY!
# Object prefix for artifacts in the config bucket
CONFIG_PREFIX := $(STACK_NAME)/
# Uncomment the following line to use an existing bucket map rather than uploading one
# BUCKET_MAP_OBJECT_KEY :=
# String that will be prepended to bucket names after looking them up in the bucket map
BUCKETNAME_PREFIX :=
# These secrets are required but not managed by the Makefile.
# For full deployments use the TEA CLI
JWT_KEY_SECRET_NAME := REQUIRED_FOR_DEPLOY!
URS_CREDS_SECRET_NAME := REQUIRED_FOR_DEPLOY!
# Earthdata Login base URL
URS_URL := https://uat.urs.earthdata.nasa.gov
# Logging style, either `flat` for human readable or `json` for machine readable
LOG_TYPE := flat
########################
# For NGAP Deployments #
########################
# In an NGAP environment you must uncomment the following line or the deployment will fail
# This has been deprecated in NGAP and is no longer necessary
# PERMISSION_BOUNDARY_NAME := NGAPShRoleBoundary
PRIVATE_VPC :=
VPC_SECURITY_GROUP_IDS :=
VPC_SUBNET_IDS :=
####################################
# CloudFormation Template Defaults #
####################################
# These options refer specifically to the CloudFormation yaml file itself
CF_DESCRIPTION := TEA snapshot, version: ${BUILD_ID} built ${DATE}
CF_BUILD_VERSION := $(BUILD_ID)
# Uncomment the following line to use a different default value for the code bucket
# CF_DEFAULT_CODE_BUCKET := asf.public.code
# Default S3 object key for the dependency layer
CF_DEFAULT_DEPENDENCY_ARCHIVE_KEY :=
# Default S3 object key for the lambda code
CF_DEFAULT_CODE_ARCHIVE_KEY :=
##################
# AWS cli config #
##################
# AWS cli binary name
AWS := aws
# AWS profile to use
AWS_PROFILE := default
########
# Misc #
########
# Uncomment the following line to build the dependencies on the host (without docker)
# DOCKER_COMMAND :=
# Any additional arguments for the docker command
DOCKER_ARGS :=
# Add any local dependencies here that are required for the dependency layer to be built.
# You will likely also need to add a volume mapping to DOCKER_ARGS or configure the
# dependency layer build to run on the host (see above) for it to work properly.
REQUIREMENTS_DEPS :=
# Supported JWT algorithm
JWTALGO := RS256
# AWS Lambda
LAMBDA_TIMEOUT := 6
LAMBDA_MEMORY := 128