4 lines
185 B
JavaScript
4 lines
185 B
JavaScript
|
export const ENV_PROFILE = "AWS_PROFILE";
|
||
|
export const DEFAULT_PROFILE = "default";
|
||
|
export const getProfileName = (init) => init.profile || process.env[ENV_PROFILE] || DEFAULT_PROFILE;
|