CLI: `deploy-prd` deploys resources from `mock_lambdas` even if I change `panacloudconfig.json`
aamir1995 opened this issue · 0 comments
aamir1995 commented
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
Steps to reproduce:
- create a new project with
panacloud init
. - use the todo schema from tutorial003 dir.
- deploy the project with
npm run deploy-prd
. // <-- the project will deploy the mock_lambdas instead of lambds_stubs. - now edit the panacloudconfig and provide real lambda path and run
panacloud update
, deploy the project again withnpm run deploy_prd
// <--- this will now throw an error.