A network stack cannot replace an exported subnet ID because an application stack imports it. The application must migrate to a new subnet without deleting either stack; which sequence resolves the dependency?
Show the answer
Correct answerC. Publish a separate export, migrate the importer, then remove the unused export.
AWhy not this: DeletionPolicy controls resource retention and does not permit changing an export that is still imported.
BWhy not this: CloudFormation blocks changing the existing export value while the application stack imports it.
CWhy this is right: Migrating the consumer to a separate export removes the dependency that blocks changing the original export.
DWhy not this: Termination protection governs stack deletion, and parallel updates do not remove the import dependency.
CloudFormation prevents changing or deleting an export while another stack imports it. A separate export allows the consumer to migrate before the old export is removed; DeletionPolicy controls resource retention, not export dependencies.