All files / lib/config/db appVariables.ts

100% Statements 8/8
100% Branches 0/0
100% Functions 0/0
100% Lines 8/8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16  4x 4x 4x 4x 4x 4x 4x           4x    
const accessKeyId: string = process.env.AWS_API_ACCESS_KEY;
const secretAccessKey: string = process.env.AWS_API_SECRET_KEY;
const awsRegion: string = process.env.AWS_API_REGION;
const appStage: string = process.env.STAGE;
const awsArn: string = process.env.AWS_API_ARN;
 
export const awsConfig = {
  accessKeyId: accessKeyId,
  secretAccessKey: secretAccessKey,
  region: awsRegion,
  arn: awsArn
};
 
export const globalConst = {
  stage: appStage,
}