AWS - CloudFormation
You want to share a VPC ID from StackA to StackB using outputs and imports. StackA exports the VPC ID as
VpcIdExport. StackB imports it with Fn::ImportValue: VpcIdExport. Later, you need to update StackA to create a new VPC and export its ID with the same name. What is the best practice to avoid deployment failures in StackB?