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

square-knife-25838

06/29/2023, 7:22 PM
Hello everyone! I just got hit with this bug: https://github.com/pulumi/pulumi/issues/6272 anyone knows of a workaround / fix? couldn't find any solution online so far, and that kind of breaks our setup 🫠
s

steep-toddler-94095

06/30/2023, 2:06 AM
This is a total hack and I haven't tested if it actually works as a workaround, and even if it did work it's not something I'd recommend, but: What if you make the value you want to ignore a Stack Output and instead of using IgnoreChanges, you have a ternary that computes "if this should be ignored, instead use value from the Stack Output from this Stack itself (self-referential StackReferences are possible), but otherwise use the new computed value.
s

square-knife-25838

06/30/2023, 1:27 PM
wooow, I'd never think of that. But even if it works, I don't think it's very practical - we have ~30 resources being affected by this, hahah