panacloud/cli

CLI: `deploy-prd` deploys resources from `mock_lambdas` even if I change `panacloudconfig.json`

aamir1995 opened this issue · 0 comments

Current Behavior:

running npm run deploy-prd seems to be deploying mock lambdas from mock_lambda directory, even if you change the pancloudconfig.json and run panacloud update.

screenshot from AWS console showing deployed mock_lambda
image

Steps to reproduce:

  1. create a new project with panacloud init.
  2. use the todo schema from tutorial003 dir.
  3. deploy the project with npm run deploy-prd. // <-- the project will deploy the mock_lambdas instead of lambds_stubs.
  4. now edit the panacloudconfig and provide real lambda path and run panacloud update, deploy the project again with npm run deploy_prd // <--- this will now throw an error.
    image