I updated from `pulumi/awsx` from `0.40.0` to `1.0...
# aws
i
I updated from
pulumi/awsx
from
0.40.0
to
1.0.2
and now preview that it wants to tear down all resources and recreate them 😱 Inspecting the diff I see the urn in the newer package is
awsx:ec2:Vpc
and for the old one:
awsx:x:ec2.Vpc
. Is there some way to lock the urn or avoid the replacement? I tried adding retainOnDelete and import .. but I can seem to get it to work
l
@incalculable-midnight-8291 v0.40.x is only written in Typescript. With v1, we made it a fully multi-language package which is structurally different. Now, within the v1 release (in Typescript), we added the v0.40.x version as the
classic
submodule. If you update your imports, you should be able to continue working with it for now.
i
Absolutely .. but will there be any way to update to the new vpc version without recreating vpcs and subnets? I also noticed that the subnet cidrs differ.