diff --git a/packages/rds-signer/src/runtimeConfig.ts b/packages/rds-signer/src/runtimeConfig.ts index f413d71bae1a..247f132e1280 100644 --- a/packages/rds-signer/src/runtimeConfig.ts +++ b/packages/rds-signer/src/runtimeConfig.ts @@ -10,10 +10,10 @@ import { SignerConfig } from "./Signer"; */ export const getRuntimeConfig = (config: SignerConfig) => { return { + ...config, runtime: "node", sha256: config?.sha256 ?? Hash.bind(null, "sha256"), credentials: config?.credentials ?? fromNodeProviderChain(), region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), - ...config, }; };