nest-storage
nest-storage copied to clipboard
Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1
Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1 app | Error: connect ECONNREFUSED 169.254.169.254:80 app | at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16) app | at TCPConnectWrap.callbackTrampoline (internal/async_hooks.js:130:17)
Storage module is registered async based on the documentation using the nest js config module.
StorageModule.registerAsync({ useFactory: (configService: ConfigService) => configService.get('filesystem'), inject: [ConfigService] }),
The credentials have been tested on a separate application to make sure they are accurate. running (configService.get('filesystem') gives the correct results.
Anyone got an idea why this is not working for nest-storage package? Any help is greatly appreciated.
Anyone got an idea why this is not working for nest-storage package?
Version 0.0.3 works fine