amplify-education / serverless-domain-manager

Serverless plugin for managing custom domains with API Gateways.
MIT License
939 stars 232 forks source link

Plugin configuration is missing #409

Closed rathoregee closed 2 years ago

rathoregee commented 3 years ago

my config: service: platform-access

plugins:

provider: name: aws runtime: nodejs12.x region: eu-west-2 environment: ${file(environment.yml)} tracing: apiGateway: true lambda: true stage: v1 versionFunctions: false vpc: securityGroupIds: ${file(settings.yml):securityGroupIds} subnetIds: ${file(settings.yml):subnetIds} iamRoleStatements:

================================================

Error: serverless-domain-manager: Plugin configuration is missing. 12:45:46 at ServerlessCustomDomain.initializeVariables (/opt/buildagent/work/72ccebbd2cd5d52f/node_modules/serverless-domain-manager/dist/index.js:236:19) 12:45:46 at ServerlessCustomDomain. (/opt/buildagent/work/72ccebbd2cd5d52f/node_modules/serverless-domain-manager/dist/index.js:57:18) 12:45:46 at Generator.next () 12:45:46 at /opt/buildagent/work/72ccebbd2cd5d52f/node_modules/serverless-domain-manager/dist/index.js:8:71 12:45:46 at new Promise () 12:45:46 at __awaiter (/opt/buildagent/work/72ccebbd2cd5d52f/node_modules/serverless-domain-manager/dist/index.js:4:12) 12:45:46 at ServerlessCustomDomain.hookWrapper (/opt/buildagent/work/72ccebbd2cd5d52f/node_modules/serverless-domain-manager/dist/index.js:56:16) 12:45:46 at /opt/buildagent/work/72ccebbd2cd5d52f/node_modules/serverless/lib/classes/PluginManager.js:498:55 12:45:46 at tryCatcher (/opt/buildagent/work/72ccebbd2cd5d52f/node_modules/bluebird/js/release/util.js:16:23) 12:45:46 at Object.gotValue (/opt/buildagent/work/72ccebbd2cd5d52f/node_modules/bluebird/js/release/reduce.js:168:18) 12:45:46 at Object.gotAccum (/opt/buildagent/work/72ccebbd2cd5d52f/node_modules/bluebird/js/release/reduce.js:155:25) 12:45:46 at Object.tryCatcher (/opt/buildagent/work/72ccebbd2cd5d52f/node_modules/bluebird/js/release/util.js:16:23) 12:45:46 at Promise._settlePromiseFromHandler (/opt/buildagent/work/72ccebbd2cd5d52f/node_modules/bluebird/js/release/promise.js:547:31) 12:45:46 at Promise._settlePromise (/opt/buildagent/work/72ccebbd2cd5d52f/node_modules/bluebird/js/release/promise.js:604:18) 12:45:46 at Promise._settlePromise0 (/opt/buildagent/work/72ccebbd2cd5d52f/node_modules/bluebird/js/release/promise.js:649:10) 12:45:46 at Promise._settlePromises (/opt/buildagent/work/72ccebbd2cd5d52f/node_modules/bluebird/js/release/promise.js:729:18) 12:45:46 at _drainQueueStep (/opt/buildagent/work/72ccebbd2cd5d52f/node_modules/bluebird/js/release/async.js:93:12) 12:45:46 at _drainQueue (/opt/buildagent/work/72ccebbd2cd5d52f/node_modules/bluebird/js/release/async.js:86:9) 12:45:46 at Async._drainQueues (/opt/buildagent/work/72ccebbd2cd5d52f/node_modules/bluebird/js/release/async.js:102:5) 12:45:46 at Immediate.Async.drainQueues (/opt/buildagent/work/72ccebbd2cd5d52f/node_modules/bluebird/js/release/async.js:15:14) 12:45:46 at processImmediate (internal/timers.js:461:21)

rathoregee commented 3 years ago

fixed after using latest version 5.1.0