prehistoric-nail-50687
03/17/2021, 3:15 PM@pulumi/azure-nextgen
to @pulumi/azure-native
…
If I have an import like import * as operationalinsights from "@pulumi/azure-nextgen/operationalinsights/v20200801";
is it save to change it to the new version-less import: import * as operationalinsights from "@pulumi/azure-native/operationalinsights";
or should I keep the version in the import?tall-librarian-49374
03/17/2021, 3:25 PMprehistoric-nail-50687
03/17/2021, 3:40 PMtall-librarian-49374
03/17/2021, 3:43 PMnative
without changing the version and then decide separately.prehistoric-nail-50687
03/17/2021, 3:53 PMtall-librarian-49374
03/17/2021, 3:57 PMpulumi up
(e.g. you updated to a version which has different defaults).prehistoric-nail-50687
03/17/2021, 4:00 PMRun pulumi up and make sure the program ran successfully. The preview should show no changes.
In my case this is not the case, it seems to dismiss all exsiting resources and wants to recreate every single one 😞tall-librarian-49374
03/17/2021, 4:16 PMprehistoric-nail-50687
03/17/2021, 4:20 PMextends pulumi.ComponentResource
)tall-librarian-49374
03/17/2021, 4:27 PMCustomCloudflareDomain
resource?cloudflare:index:Record
which can’t be related to the migration nextgen->nativeprehistoric-nail-50687
03/17/2021, 4:30 PMpulumi stack
https://gist.github.com/imod/10daa9970217ea97b93382289592dca1#file-output-of-current-pulumi-stack - I need to dig into this more deeply I guesstall-librarian-49374
03/17/2021, 4:33 PMprehistoric-nail-50687
03/17/2021, 4:36 PMtall-librarian-49374
03/17/2021, 4:38 PMprehistoric-nail-50687
03/17/2021, 4:39 PM{ parent: this }
tall-librarian-49374
03/17/2021, 7:38 PMprehistoric-nail-50687
03/17/2021, 11:25 PMtall-librarian-49374
03/18/2021, 7:14 PMpulumi stack export
, back it up, then replace azure-nextgen
with azure-native
and import again. Crude but should work.prehistoric-nail-50687
03/19/2021, 6:36 AM