Skip to content

Commit

Permalink
Mark VpcAttachment as DeleteBeforeReplace
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhailshilkov committed Nov 26, 2023
1 parent 97ce1a3 commit 7f92793
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -1889,7 +1889,10 @@ func ProviderFromMeta(metaInfo *tfbridge.MetadataInfo) *tfbridge.ProviderInfo {
"aws_ec2_transit_gateway_route_table_propagation": {
Tok: awsResource(ec2TransitGatewayMod, "RouteTablePropagation"),
},
"aws_ec2_transit_gateway_vpc_attachment": {Tok: awsResource(ec2TransitGatewayMod, "VpcAttachment")},
"aws_ec2_transit_gateway_vpc_attachment": {
Tok: awsResource(ec2TransitGatewayMod, "VpcAttachment"),
DeleteBeforeReplace: true,
},
"aws_ec2_transit_gateway_vpc_attachment_accepter": {Tok: awsResource(ec2TransitGatewayMod, "VpcAttachmentAccepter")},
"aws_ec2_transit_gateway_peering_attachment": {Tok: awsResource(ec2TransitGatewayMod, "PeeringAttachment")},
"aws_ec2_transit_gateway_connect": {Tok: awsResource(ec2TransitGatewayMod, "Connect")},
Expand Down

0 comments on commit 7f92793

Please sign in to comment.