Weird issue with deploy
See original GitHub issueDescribe the bug
When using the .arc-file below, and creating - everything get’s properly created. However, when deploying, only the lambda phonetree-staging-post-message-000idx
gets updated as evidenced by the screenshot below. The lambda phonetree-staging-post-start
somehow gets confused and tries to update phonetree-staging-get-start
as evidenced by the terminal screenshot below which is then labelled as “creating…” (since it doesn’t exist).
This persists across both AWS regions (tested in eu-north-1 and eu-west-1) and across multiple npx inventory nuke
and re-installs of architect.
To Reproduce
- Use the attached .arc-file and arc@5.9.23 on node 10.15.3.
- Run
npx create
- Change message in
phonetree-staging-post-start
. - Try to update via
npx deploy
Expected behavior
I expect phonetree-staging-post-start
to update correctly.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: MacOS Mojave 10.14.5
- arc@5.9.23

.arc:
@aws
region eu-west-1
profile default
@app
phonetree
@http
post /start
post /message/:idx
@tables
phonetree
phone *String
date **Number
AWS Console:
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
That was indeed the case and it worked perfectly once I updated the name in
package-lock.json
. Many thanks for the quick pointer!No worries, the superquick reply cleared it up at once! Looking forward to taking Arc 6 for a spin!