Commit 796a3a5
fix(iac): render preDeploy as a first-class field in migrate and pull (#1167)
Config as Code migrations were emitting the pre-deploy command as a
comment ('// preDeployCommand from CaC: ...'), silently dropping working
migration config even though the IaC SDK and apply path fully support
the field. config pull buried it in the raw deploy block for the same
reason. Emit 'preDeploy:' as a real field in both, unwrapping the
single-command array to a bare string.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent 8984abb commit 796a3a5
2 files changed
Lines changed: 38 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
613 | 613 | | |
614 | 614 | | |
615 | 615 | | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
616 | 626 | | |
617 | 627 | | |
618 | 628 | | |
| |||
625 | 635 | | |
626 | 636 | | |
627 | 637 | | |
628 | | - | |
629 | | - | |
630 | | - | |
631 | | - | |
632 | | - | |
633 | | - | |
634 | 638 | | |
635 | 639 | | |
636 | 640 | | |
| |||
847 | 851 | | |
848 | 852 | | |
849 | 853 | | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
850 | 870 | | |
851 | 871 | | |
852 | 872 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1307 | 1307 | | |
1308 | 1308 | | |
1309 | 1309 | | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
1310 | 1322 | | |
1311 | 1323 | | |
1312 | 1324 | | |
| |||
0 commit comments