3 lines
185 B
JavaScript
3 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;
|