Skip to content

Instantly share code, notes, and snippets.

@Rud5G
Forked from leegilmorecode/pipeline-types.ts
Created November 23, 2023 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Rud5G/f6ec00dd1567b3c7ba9c15e20a9f10cc to your computer and use it in GitHub Desktop.
Save Rud5G/f6ec00dd1567b3c7ba9c15e20a9f10cc to your computer and use it in GitHub Desktop.
export interface EnvironmentConfig {
env: {
account: string;
region: string;
};
stageName: string;
stateful: {
bucketName: string;
};
stateless: {
lambdaMemorySize: number;
};
}
export const enum Region {
dublin = 'eu-west-1',
london = 'eu-west-2',
frankfurt = 'eu-central-1',
}
export const enum Stage {
featureDev = 'featureDev',
staging = 'staging',
prod = 'prod',
develop = 'develop',
}
export const enum Account {
featureDev = '11111111111',
staging = '22222222222',
prod = '33333333333',
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment