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

curved-helicopter-46451

08/05/2022, 7:58 PM
Anybody know if there's a way to ignore changes to a provider? _*creating replacement* [diff: ~provider]_; I tried
ignore_changes=['provider', 'opts', 'opts.provider', 'opts:provider', 'providers']
, on the resource options, but I'm assuming it doesn't work on itself?
s

steep-toddler-94095

08/06/2022, 2:56 AM
i wouldn't think it's possible to ignore changes to a resource's provider because the provider determines where the resource itself is created. wanting to ignore it may be a yellow/red flag in your program. imagine if the provider was changed to a different K8s cluster and then ignored by some resources. It would be an absolute nightmare to debug that type of situation!
c

curved-helicopter-46451

08/10/2022, 11:43 PM
Yeah it's not ideal but people kept just making new providers where they needed them instead of passing them around, so they ended up pointing to the same thing. Aliases and such can fix, but just ignoring provider changes would have been more straight forward in some ways.
1
80 Views