Azure DevOps Inspec Setup

Hi, I am trying to use InSpec infrastructure validation tool. I have some queries. Can anyone help me to achieve my setup.

My Team is using Azure + Azure DevOps + Terraform. All the infra provisioning we are using terraform by Azure DevOps pipeline.

How and where do we need to install InSpec tool and How we can integrate InSpec with Azure DevOps pipeline and run the infra validation checks.

I have gone through these links but not able to find the details

It would be really helpful, if you are share the reference documents or your thoughts to achieve my setup.