You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CDK's CrossRegionExportWriter forbids in-place value updates for any existing
export key. The writer diffs the prior template's `WriterProps.exports` against
the new template's by key; if any key's value changed, it throws "Some exports
have changed!". This is not drift detection (it doesn't consult SSM during the
check) — it's a hard "this key is immutable once written" rule.
Renaming the cert construct id Cert -> CertV2 changes the logical id, which
changes the export key (HabitAgilityCertuseast1RefCertV2 -> ... new hash). The
writer sees the diff as "add new key + delete old key" instead of "update
existing key" and accepts it. The main stack picks up the new cross-region
reference on the same deploy.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments