https://pulumi.com logo
Title
w

wet-sunset-4939

06/14/2021, 10:35 AM
Hi All, I have a resource, When running pulumi up it shows the resource need to be updated however, the details show no changes. How could I ignore the resource form update?
b

billowy-army-68599

06/14/2021, 10:40 AM
can you show a screenshot of the details?
l

little-cartoon-10569

06/14/2021, 9:06 PM
One reason for this is that the resource is being created in an
apply()
or in some other context where the values aren't known to Pulumi. If this is the case for you, maybe you can refactor to move the constructor outside the
apply()
, and instead pass Input parameters to the constructor.
w

wet-sunset-4939

06/21/2021, 1:56 PM
Thanks both, Somehow the state on Azure and Pulumi are not matched. So after run pulumi up with refresh the issue was gone.
👍 1