-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.env
69 lines (55 loc) · 1.64 KB
/
.env
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
#
# Sample env config file required for local development
#
APP_NAME=lesgo
APP_ENV=local
APP_DEBUG=true
AWS_APIGW_DISABLE_DEFAULT_ENDPOINT=false
AWS_APP_REGION=ap-southeast-1
AWS_ACCOUNT_PROFILE=slsDevProfile
AWS_ACCOUNT_ID=
#
# All below config are used in the samples
#
# Sample - VPC
AWS_VPC_SECURITY_GROUP_ID=sg-123
AWS_VPC_SUBNET_1_ID=subnet-123a
AWS_VPC_SUBNET_2_ID=subnet-123b
# Sample - Crypto
LESGO_CRYPTO_HASH_ALG=sha256
LESGO_CRYPTO_ENCRYPTION_ALG=aes-256-cbc
LESGO_CRYPTO_ENCRYPTION_SEC=90a4f4097215247b0f6a9917022dcc0a
# Sample - JWT
LESGO_JWT_SECRET_KEYS=
LESGO_JWT_ALGORITHM=HS256
LESGO_JWT_EXPIRES_IN=1h
LESGO_JWT_ISSUER=
LESGO_JWT_AUDIENCE=
LESGO_JWT_VALIDATE_CLAIMS=true
# Sample - Basic Auth
LESGO_BASIC_AUTH_LIST=
# Sample - S3
LESGO_AWS_S3_REGION=ap-southeast-1
LESGO_AWS_S3_BUCKET=
LESGO_AWS_S3_BUCKET_URI=
# Sample - DynamoDb
LESGO_AWS_DYNAMODB_REGION=ap-southeast-1
LESGO_AWS_DYNAMODB_TABLE_ALIASES=defaultTable,lesgoTable
# Sample - SQS
LESGO_AWS_SQS_REGION=ap-southeast-1
LESGO_AWS_SQS_QUEUE_ALIASES=sqsEventQueue,httpEventQueue.fifo
# Sample - Secrets Manager
LESGO_AWS_SECRETS_MANAGER_REGION=
# Sample - RDS Aurora MySQL
LESGO_AWS_RDS_AURORA_MYSQL_REGION=
LESGO_AWS_RDS_AURORA_MYSQL_DB_NAME=
# For RDS Proxy Connection Pool
LESGO_AWS_RDS_AURORA_MYSQL_PROXY_DB_CREDENTIALS_SECRET_ID=
# For RDS Aurora Serverless resource creation
LESGO_AWS_RDS_AURORA_MYSQL_CONNECTION_TYPE=proxy
LESGO_AWS_RDS_AURORA_MYSQL_SCALE_MIN_CAPACITY=1
LESGO_AWS_RDS_AURORA_MYSQL_SCALE_MAX_CAPACITY=1
LESGO_AWS_RDS_AURORA_MYSQL_DELETION_PROTECTION=false
# Sample - Cache (ElastiCache - Redis)
LESGO_AWS_ELASTICACHE_REDIS_ENDPOINT=
LESGO_AWS_ELASTICACHE_REDIS_PORT=