From 62d32e9bb33af7f4c503dba2a2676677f0d0999f Mon Sep 17 00:00:00 2001 From: Martin Atkins Date: Wed, 17 Apr 2019 15:45:35 -0700 Subject: [PATCH] website: Fix incorrect example in Module Composition page The example above treats recordsets as a list, but the declaration was for a single object. --- website/docs/modules/composition.html.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/modules/composition.html.markdown b/website/docs/modules/composition.html.markdown index 959220c089..cfe4158456 100644 --- a/website/docs/modules/composition.html.markdown +++ b/website/docs/modules/composition.html.markdown @@ -194,12 +194,12 @@ implementations would have the following variable declared: ```hcl variable "recordsets" { - type = object({ + type = list(object({ name = string type = string ttl = number records = list(string) - }) + })) } ```