MitocGroup / deep-package-manager

DEEP = Digital Enterprise End-to-end Platform

Home Page:https://www.deep.mg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'deepify deploy' is broken for Canada (Central) region

avozicov opened this issue · comments

Steps to reproduce:

  • Install latest version of deepify = 3.0.42
  • Configure deeploy.json file and set "ca-central-1" value for "region"
  • Executed "deepify deploy" command from "your_app/src" folder

BUG:

  • Application can not be successfully deployed into Canada (Central) region and errors in console are displayed

Note:

  • Bug is also reproduced for "US East (N. Virginia) us-east-1 region"

Please refer bellow to log output and attachments:

brokenddeepifydeploy

11:46:02 GMT+0300 (EEST) Cannot read property 'split' of undefined 11:46:02 GMT+0300 (EEST) TypeError: Cannot read property 'split' of undefined at Function.getAppropriateAwsRegion (/Users/alexandrvozicov/.nvm/versions/node/v6.10.3/lib/node_modules/deepify/node_modules/deep-core/lib.compiled/AWS/Region.js:84:19) at Instance.getAwsServiceRegion (/Users/alexandrvozicov/.nvm/versions/node/v6.10.3/lib/node_modules/deepify/node_modules/deep-package-manager/lib.compiled/Provisioning/Instance.js:147:42) at new Instance (/Users/alexandrvozicov/.nvm/versions/node/v6.10.3/lib/node_modules/deepify/node_modules/deep-package-manager/lib.compiled/Provisioning/Instance.js:94:20) at new Instance (/Users/alexandrvozicov/.nvm/versions/node/v6.10.3/lib/node_modules/deepify/node_modules/deep-package-manager/lib.compiled/Property/Instance.js:141:26) at Function.create (/Users/alexandrvozicov/.nvm/versions/node/v6.10.3/lib/node_modules/deepify/node_modules/deep-package-manager/lib.compiled/Property/Instance.js:162:24) at Program.module.exports [as _action] (/Users/alexandrvozicov/.nvm/versions/node/v6.10.3/lib/node_modules/deepify/bin/commands/deploy.js:49:35) at Program.run (/Users/alexandrvozicov/.nvm/versions/node/v6.10.3/lib/node_modules/deepify/lib.compiled/Terminal/Program.js:254:30) at Program.run (/Users/alexandrvozicov/.nvm/versions/node/v6.10.3/lib/node_modules/deepify/lib.compiled/Terminal/Program.js:222:32) at Object.<anonymous> (/Users/alexandrvozicov/.nvm/versions/node/v6.10.3/lib/node_modules/deepify/bin/deepify.js:117:18) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.runMain (module.js:604:10) at run (bootstrap_node.js:390:7) at startup (bootstrap_node.js:150:9) at bootstrap_node.js:505:3

It seems to be caused by latest changes into deep-core -> Regions.js

Test Passed
Acceptance Criteria:

  • Application should be successfully deployed in "ca-central-1" and "us-east-1" regions

screen shot 2017-06-29 at 14 13 01

screen shot 2017-06-29 at 14 12 43