I’m using Terraform (v12) in a CI/CD pipeline. My build is not completing because it is waiting for user feedback. It seems that I need to run Terraform in non-interactive mode, but I cannot find a way to change the mode. Is it correct that I need to be in non-interactive mode? and can someone point me to documentation on how I change this? Thanks
We have some guidelines for running Terraform in automation, including in situations where interactive input is impossible, in the guide Running Terraform in Automation. The answer to your question is in there, along with some other things to keep in mind when running Terraform in an automated pipeline.