News for hackers. Stuff that matters.
Re:I made a mistake with Terraform and Azure made it worse by notwedtm on Thursday July 08, 2021 @05:23PM (#27777772)
It's a very powerful tool. Just like any other (well designed) tool, it's only going to do what the operator tells it to do.

Terraform will never delete something you don't tell it to.

Re:I made a mistake with Terraform and Azure made it worse by anonydsfsfs on Thursday July 08, 2021 @05:56PM (#27778116)
> Terraform will never delete something you don't tell it to.

Not necessarily. With some providers (e.g. Azure), Terraform will fail to recognize automated behind-the-scenes changes and try to revert them, causing serious breakage. This is why the "ignore_changes" meta-argument exists. See https://itnext.io/how-and-when-to-ignore-lifecycle-changes-i...