Creating Global Environment Variables
# PostgreSQL
PGHOST="Your DB IP address"
PGPASSWORD="Your DB password"
PGDATABASE="You DB name"
PGUSER="Your DB username"
# CSV files on S3 bucket
S3_LOG_BUCKET_URI="s3://<Bucket name>/<Folder name>"
S3_LOG_CONFIG_FILE="/var/task/prd_s3.cfg"
S3_LOG_FOLDER="/tmp/store"
# Logging file to upload into S3 bucket
LAMBDA_FOLDER="/tmp/log"
LAMBDA_FILE="export_logs.log"
# Connection
TIMEZONE="<Your timezone>"
MAX_CONCURRENT_REQUESTS=10
SERVER_ID_LIMIT=5
AFTER_FAILED_IGNORING_MINUTES=10
PostgreSQL DB Variables
-
PGHOST
-
PGPASSWORD
-
PGDATABASE
-
PGUSER
CSV Files on S3 Bucket Variables
-
S3_LOG_BUCKET_URI
-
S3_LOG_CONFIG_FILE
-
S3_LOG_FOLDER
Connection Variables
-
TIMEZONE
-
MAX_CONCURRENT_REQUESTS
-
SERVER_ID_LIMIT
-
AFTER_FAILED_IGNORING_MINUTES