https://pulumi.com logo
#aws
Title
# aws
e

early-grass-93513

08/17/2023, 4:13 AM
We use Pulumi to manage AWS infrastructure and need to upgrade the pulumi/awsx package from 0.x to 1.x to support new features. However after updating the package and getting 'pulumi up' working again without errors (this mainly involved updating some interface usage) pulumi wants to replace the VPC which basically triggers a replacement of most of the infrastructure. Just wondered if others had this issue and any pointers to migration guides?
l

little-cartoon-10569

08/17/2023, 5:22 AM
In your existing code which uses
<http://awsx.ec2.xyz|awsx.ec2.xyz>
, change it to
<http://awsx.classic.ec2.xyz|awsx.classic.ec2.xyz>
. Everything should go back to normal.
You can use the new awsx.xyz namespaces for the new features, and the original resources for the resources you don't want to migrate.
e

early-grass-93513

08/17/2023, 6:14 AM
Thanks that will solve the problem