This message was deleted.
# getting-started
s
This message was deleted.
s
Is this in the Native provider or Classic provider?
In any case, this sounds like a bug. Can you submit a GH issue in the relevant repo? LMK if you're having trouble.
f
Native
I'm not sure how to open a bug? The AZ infra itself is private, I could share the C# code with you and maybe the state but I'd need to anonymise some names.
One thing that confuses me is: what is the source of truth that Pulumi uses to compute the diff? I thought it was the
.json
state file + the result of running C# code, but as far as I can tell both are identical for the newly created and imported resources. So for the same inputs I'd expect the same outcome?? I have to assume that there's another input? Does the Native Azure provider query the cloud to get additional data on existing resources? I could imagine there might be differences here (although
az group list
are very similar as well).
s
Feel free to anonymize as much as you need to, but a minimal program to repro is ideal. https://github.com/pulumi/pulumi-azure-native
If there's indeed a bug, it probably affects any import of that resource type.
f
See if you can figure out something from this: https://github.com/pulumi/pulumi-azure-native/issues/2246