Initial
This commit is contained in:
12
resources/app/node_modules/@smithy/config-resolver/dist-es/regionConfig/config.js
generated
vendored
Normal file
12
resources/app/node_modules/@smithy/config-resolver/dist-es/regionConfig/config.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
export const REGION_ENV_NAME = "AWS_REGION";
|
||||
export const REGION_INI_NAME = "region";
|
||||
export const NODE_REGION_CONFIG_OPTIONS = {
|
||||
environmentVariableSelector: (env) => env[REGION_ENV_NAME],
|
||||
configFileSelector: (profile) => profile[REGION_INI_NAME],
|
||||
default: () => {
|
||||
throw new Error("Region is missing");
|
||||
},
|
||||
};
|
||||
export const NODE_REGION_CONFIG_FILE_OPTIONS = {
|
||||
preferredFile: "credentials",
|
||||
};
|
||||
Reference in New Issue
Block a user