Commit 1a3b070
0.11.7: pin ARecordLegacy logical id; document manual main-stack patch
The 0.11.6 deploy got the cert stack through but choked on the main stack
because:
1. CFN evaluates dynamic refs in the DEPLOYED template during changeset
creation. The old template's `{{resolve:ssm:…:1:1779216106436}}` (with a
timestamp pin) became unresolvable once the writer rewrote the param to
a new key. Fix: hand-patch the deployed template via
`aws cloudformation update-stack` to replace the broken dynamic ref with
a literal cert ARN. Done out of band — gives CDK a clean diff to deploy.
2. The original `ARecord` construct (deployed logical id `ARECORDE7B57761`,
pointed at ght.vexom.io) was renamed in code to `ARecordLegacy`. CDK
generated a new logical id, CFN tried to create-then-delete, and the
create collided on the existing DNS name. Fix: `overrideLogicalId` on
the new construct so CDK adopts the existing record without a recreate.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 5f9c470 commit 1a3b070
4 files changed
Lines changed: 27 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
7 | 25 | | |
8 | 26 | | |
9 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
217 | 222 | | |
218 | 223 | | |
219 | 224 | | |
220 | 225 | | |
| 226 | + | |
221 | 227 | | |
222 | 228 | | |
223 | 229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments