You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you add "lifecycle" key in the module to let people use "ignore_changes" with terraform ?
If we want to use it with GKE Autopilot, everytime we are running a plan / apply, it want to change custom metadata added by Autopilot... We could avoid that with "lifecycle" :)
lifecycle {
ignore_changes = []
}
Thank you for creating this module, it resolves a lot of headaches !
The text was updated successfully, but these errors were encountered:
While it may work, I'm not so sure that that's entirely correct... It's a bit of a gap in Terraform modules in general that you cannot inject lifecycle attributes (as they can't refer to variables etc). If it does what I think it does (ignoring all updates), it would make making changes in the future quite a bit harder. Could you consider forking the Terraform part of it?
I don't think that is unfortunately possible. You might want to look into Helm deployment option that is available now, which should get you rid of the annotation spam.
Hello,
Can you add "lifecycle" key in the module to let people use "ignore_changes" with terraform ?
If we want to use it with GKE Autopilot, everytime we are running a plan / apply, it want to change custom metadata added by Autopilot... We could avoid that with "lifecycle" :)
Thank you for creating this module, it resolves a lot of headaches !
The text was updated successfully, but these errors were encountered: