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
I have a CloudFormation stack that needs to be updated. Particularly, we're migrating from VPNGateway to a TransitGateway and we face a particular challenge. In the Change Set to generate we have removed the references to the VPN Gateway and its related resources. This will tell CF that all the resources should be planned to be deleted. So far no problem with that.
Now we want to add the TransitGatewayAttachment as a new resource in the same stack. The problem is that some routes cannot be added until the auto-propagation of the old resource (VPNGatewayRoutePropagation) has been completely removed. For that effect, we would need that the TransitGatewayAttachment waits for the VPNGatewayRoutePropagationto be removed, but we no longer have its reference in the code.
Ideally this should be a one-step operation because we want to minimize downtime as much as we can. I've already thought about a workflow like the following, but that would be a plan B for the moment:
Deploying CF with VPN Gateway missing (deleting the resource).
Manually confirming the deletion.
Deploying new CF with TransitGatewayAttachment.
The problem here is that the two-step operation will generate a higher downtime.
Is there any way to define that dependency using DependsOn, WaitCondition, etc.?
The text was updated successfully, but these errors were encountered:
I have a CloudFormation stack that needs to be updated. Particularly, we're migrating from
VPNGateway
to aTransitGateway
and we face a particular challenge. In the Change Set to generate we have removed the references to theVPN Gateway
and its related resources. This will tell CF that all the resources should be planned to be deleted. So far no problem with that.Now we want to add the
TransitGatewayAttachment
as a new resource in the same stack. The problem is that some routes cannot be added until the auto-propagation of the old resource (VPNGatewayRoutePropagation
) has been completely removed. For that effect, we would need that theTransitGatewayAttachment
waits for theVPNGatewayRoutePropagationto
be removed, but we no longer have its reference in the code.Ideally this should be a one-step operation because we want to minimize downtime as much as we can. I've already thought about a workflow like the following, but that would be a plan B for the moment:
VPN Gateway
missing (deleting the resource).TransitGatewayAttachment
.The problem here is that the two-step operation will generate a higher downtime.
Is there any way to define that dependency using DependsOn, WaitCondition, etc.?
The text was updated successfully, but these errors were encountered: