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

elegant-sundown-11861

03/07/2023, 7:36 PM
Hi there! Dynamic Resource Provider I developed always executes
update
even if nothing in code is changed:
[diff: ~__provider]
Could you tell me please what is a possible reason of that? More details: • Python • Pulumi 3.56.0 •
__provider
in
_news
and
_olds
are not the same (why?) 😬 Similar issues: 1, 2
s

sparse-gold-10561

03/07/2023, 7:53 PM
Yeah, ive been struggling with it.. It would be great to get some advice on this too
e

echoing-dinner-19531

03/07/2023, 10:09 PM
Sounds like a non-determinism in the closure serialisation method. Can you raise an issue about this for us to track, if you've got a program that you can share to reproduce the issue that would help a lot because it's probably very sensitive to the actual code in the dynamic provider.
s

sparse-gold-10561

03/07/2023, 11:08 PM
You want an issue in gitlab or via the enterprise support portal?
my example provider is located here: https://github.com/awslabs/aws-cyclone-solution/tree/main/pulumi-provider . I even tried to use the stables array but that didn't seem to help
i can also add the link to the issue
e

echoing-dinner-19531

03/09/2023, 9:01 AM
You want an issue in gitlab or via the enterprise support portal?
GitHub or support portal (Support would probably just then make the github ticket for you) which ever is easier. And yes please add that link to the issue, repro programs are a massive help.
s

sparse-gold-10561

03/09/2023, 5:35 PM
@echoing-dinner-19531 what repo should the issue be created in?
e

echoing-dinner-19531

03/09/2023, 5:48 PM
s

sparse-gold-10561

03/09/2023, 6:28 PM
@elegant-sundown-11861 does this capture it correctly? https://github.com/pulumi/pulumi/issues/12401
e

elegant-sundown-11861

03/09/2023, 6:48 PM
Looks good! Thanks for raising issue @sparse-gold-10561