Skip to content

Commit

Permalink
allow the basic example to pass packer validate
Browse files Browse the repository at this point in the history
tested with Packer v1.3.4.  Without the builders section is complains for " Unknown root level key in template:  " for every key in the JSON.
  • Loading branch information
a-yiorgos authored Feb 11, 2019
1 parent 9787e78 commit 591533c
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions website/source/docs/builders/hetzner-cloud.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,13 @@ access tokens:

``` json
{
"type": "hcloud",
"token": "YOUR API KEY",
"image": "ubuntu-18.04",
"location": "nbg1",
"server_type": "cx11",
"ssh_username": "root"
"builders": [{
"type": "hcloud",
"token": "YOUR API KEY",
"image": "ubuntu-18.04",
"location": "nbg1",
"server_type": "cx11",
"ssh_username": "root"
}]
}
```

0 comments on commit 591533c

Please sign in to comment.