Hi,
I'm trying out InSpec to test our infrastructure in Azure. I've got a simple check working that checks if one of the VMs has IIS installed. But when I try a simple test that checks if the same VM can access a certain internal web service it fails.
My script:
describe http('http://dev-consul-1.xxxxxxxxxx:8500') do
its('status') { should cmp 301 }
end
The error when running:
Unsupported resource/backend combination: http / windows_server_2016_datacenter. Exiting.
That sounds like http is not supported on this type of VM. Am I right? If so, is there a way I can work around this?
I'm using InSpec version 4.18.24.
Thanks in advance!
Cheers,
Ongoonku