website: fix JSON typo (resources is array of objects)

This commit is contained in:
Nick Fagerlund 2019-02-20 17:56:00 -08:00
parent ff47cab8c7
commit c2979e7278
1 changed files with 38 additions and 36 deletions

View File

@ -45,6 +45,7 @@ The following example illustrates the structure of the common `<values-represent
// "root_module" describes the resources and child modules in the root module. // "root_module" describes the resources and child modules in the root module.
"root_module": { "root_module": {
"resources": [ "resources": [
{
// "address" is the absolute resource address, which callers must consider // "address" is the absolute resource address, which callers must consider
// opaque but may do full string comparisons with other address strings or // opaque but may do full string comparisons with other address strings or
// pass this verbatim to other Terraform commands that are documented to // pass this verbatim to other Terraform commands that are documented to
@ -87,6 +88,7 @@ The following example illustrates the structure of the common `<values-represent
"instance_type": "t2.micro", "instance_type": "t2.micro",
// etc, etc // etc, etc
} }
}
] ]
"child_modules": [ "child_modules": [