Added hcl to json example for nested objects (#36)

It was unclear how nested object example in hcl would map to json.
README now updated to include an example of the son equivalent
to a hcl nested object.
This commit is contained in:
Tim 2016-09-02 17:46:43 +01:00 committed by James Nugent
parent 9edfb078e1
commit ef28deed85

View File

@ -103,6 +103,16 @@ variable "ami" {
description = "the AMI to use"
}
```
This would be equivalent to the following json:
``` json
{
"variable": {
"ami": {
"description": "the AMI to use"
}
}
}
```
## Thanks