RuntimeError Machine Options for win2012r2 are invalid cannot create machine - chef-provisioning-ssh

I bootstrapped a win2012r2 node. ‘knife winrm -m ip ipconfig … --winrm-ssl-verify-mode verify_none’ runs successfully.

Then I ran the following:
with_chef_server “https://mychefserver/organizations/myorg”,
:client_name => Chef::Config[:node_name],
:signing_key_filename => Chef::Config[:client_key]

machine “win2012r2” do
action [:converge]
machine_options :transport_options => {
‘is_windows’ => true,
‘host’ => ‘ip address’,
‘port’ => 5985,
‘username’ => ‘Administrator’,
‘password’ => ‘passw0rd’
}
recipe 'motd::default’
converge true
end

the run terminated with the following error:
RuntimeError
------------
Machine Options for win2012r2 are invalid cannot create machine.

Thanks in advance for any tips to fix this.