Commit c244b12
committed
fix(build): correct load_data.sh samconfig path and stack name
load_data.sh read samconfig.toml from unicorn_web/, but the file only exists at unicorn_web/infrastructure/web-service/samconfig.toml, so STACK_NAME always resolved empty and the subsequent describe-stacks call failed. Even fixing the path, samconfig's stack_name (uni-prop-<stage>-web) does not match what deploy-service actually creates (uni-prop-<stage>-web-service). Derived the stack name directly using the same STAGE/STACK_PREFIX convention the Makefile uses, rather than reading a disconnected config value.1 parent 8849339 commit c244b12
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
0 commit comments