dydxprotocol / v4-chain

dydx v4 protocol
Other
231 stars 105 forks source link

Indexer: local deployment error in roundtable container "ConfigError: Missing required env var 'AWS_REGION' (string)" #2563

Open sl4mmy opened 1 day ago

sl4mmy commented 1 day ago

Following the instructions for deploying locally (https://github.com/dydxprotocol/v4-chain/tree/main/indexer#deploying) in a fresh clone at tag indexer/v7.0.1:

...
roundtable-1        | /home/dydx/app/packages/base/build/src/config-util.js:55
roundtable-1        |             throw new errors_1.ConfigError(Missing required env var '${varName}' (string));
roundtable-1        |             ^
roundtable-1        |
roundtable-1        | ConfigError: Missing required env var 'AWS_REGION' (string)
roundtable-1        |     at /home/dydx/app/packages/base/build/src/config-util.js:55:19
roundtable-1        |     at /home/dydx/app/packages/base/build/src/config-util.js:185:16
roundtable-1        |     at /home/dydx/app/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js:13469:38
roundtable-1        |     at /home/dydx/app/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js:4967:15
roundtable-1        |     at baseForOwn (/home/dydx/app/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js:3032:24)
roundtable-1        |     at Function.mapValues (/home/dydx/app/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js:13468:7)
roundtable-1        |     at parseSchema (/home/dydx/app/packages/base/build/src/config-util.js:183:37)
roundtable-1        |     at Object.<anonymous> (/home/dydx/app/services/roundtable/build/src/config.js:181:42)
roundtable-1        |     at Module._compile (node:internal/modules/cjs/loader:1105:14)
roundtable-1        |     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
roundtable-1        |     at Module.load (node:internal/modules/cjs/loader:981:32)
roundtable-1        |     at Function.Module._load (node:internal/modules/cjs/loader:822:12)
roundtable-1        |     at Module.require (node:internal/modules/cjs/loader:1005:19)
roundtable-1        |     at Module.Hook.Module.require (/home/dydx/app/node_modules/.pnpm/dd-trace@3.32.1/node_modules/dd-trace/packages/dd-trace/src/ritm.js:85:33)
roundtable-1        |     at require (node:internal/modules/cjs/helpers:102:18)
roundtable-1        |     at Object.<anonymous> (/home/dydx/app/services/roundtable/build/src/index.js:9:34)
linear[bot] commented 1 day ago

GH-79 Indexer: local deployment error in roundtable container "ConfigError: Missing required env var 'AWS_REGION' (string)"