-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path00-vars.sh
More file actions
executable file
·27 lines (25 loc) · 818 Bytes
/
00-vars.sh
File metadata and controls
executable file
·27 lines (25 loc) · 818 Bytes
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
#!/bin/bash
# Temporal building directory
BUILD_DIR=.build
# Extension building directory
EXTENSION_BUILD_DIR="${BUILD_DIR}/extension"
# Function building directory
FUNCTION_BUILD_DIR="${BUILD_DIR}/function"
# Builded binaries
OUTPUT_DIR=bin
# Extension name used to create layer
EXTENSION=spire-extension
# Path to function code
FUNCTION_DIR=function
# AWS region where deploy function and extension
AWS_REGION=us-east-2
# Function DB name
FUNCTION_DB=db-client
# Function DB name
FUNCTION_WEB=web-client
# Execution role used on function, it must have access to secret
FUNCTION_ROLE=arn:aws:iam::529024819027:role/lambda-role
# Secret name, it must be updated for SPIRE to keep an udpated X509 SVID
SECRET_DB=db-secret
# Secret name, it must be updated for SPIRE to keep an udpated X509 SVID
SECRET_WEB=web-secret