InSpec breaking Packer build

187 views
Skip to first unread message

Stephen Bennett

unread,
Aug 14, 2019, 9:54:04 AM8/14/19
to packe...@googlegroups.com
Hi, 

Trying to add Inspec tests to my packer build, if i take out the inspec provisioner this runs (Attached packer json). Any ideas whats going on?

InSpec code: 

    {
      "type": "inspec",
      "profile": "https://github.com/dev-sec/windows-patch-baseline",
      "extra_arguments": [ "--chef-license", "accept", "--reporter", "json:output.json"]
    }  


aws-windows-2016-base.json

dragon788

unread,
Jul 31, 2020, 2:57:09 PM7/31/20
to Packer
You need to tell inspec to use WinRM as the backend/transport in your template or the CLI arguments.
Reply all
Reply to author
Forward
0 new messages