Skip to content

Instantly share code, notes, and snippets.

@leegilmorecode
Created February 10, 2023 05:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save leegilmorecode/79d60b92b3e1d1f11d6bc30dbf246c53 to your computer and use it in GitHub Desktop.
Save leegilmorecode/79d60b92b3e1d1f11d6bc30dbf246c53 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