brave-motorcycle-67487
09/15/2023, 5:57 PMaws-native:ec2:VPC
and create a just-happens-to-be-the-same aws-native:ec2:Vpc
. Some of these are annoying to recreate (require maintenance windows and downtime), and others are imported and have protect=True
because we really can't be recreating them.
What I'm trying to figure out is if there's a way to coerce the state db to recognize that these are actually the same things and don't need to change anything in the physical objects, just an internal re-accounting. This seems like it should be possible, but I'm not sure quite how to go about it.
(I'll also accept that I'm using a preview module and thus put myself into this problem simple smile )brave-motorcycle-67487
09/15/2023, 6:21 PMstocky-restaurant-98004
09/15/2023, 6:38 PMrich-whale-93740
09/15/2023, 6:53 PMbrave-motorcycle-67487
09/15/2023, 7:29 PMaliases=[pulumi.Alias(type_="aws-native:ec2:VPC")],
. The type_
field is documented as existing but that's about it, but between the mention of it and examples in the source code and https://github.com/pulumi/pulumi-aws-native/issues/293 to remind me how to construct type names for aws-native, I made some progressbrave-motorcycle-67487
09/15/2023, 7:30 PM