Terraform with AWS - Can't destroy IG sometimes!

Hi guys,
From time-to-time Terraform hangs whilst attempting to destroy my infrastructure. It’s usual culprit is my Internet Gateway! Is/has anyone else having this issue?
Many thanks,

You probably need to add depends_on to any resource that depends on the IGW.

1 Like

As @gtirloni I would recommend using depends_on within your terraform files. Can really help with properly destroying as well as creating infrastructure.