website: Fix incorrect example in Module Composition page

The example above treats recordsets as a list, but the declaration was for a single object.
This commit is contained in:
Martin Atkins 2019-04-17 15:45:35 -07:00
parent 275e0a53f2
commit 62d32e9bb3
1 changed files with 2 additions and 2 deletions

View File

@ -194,12 +194,12 @@ implementations would have the following variable declared:
```hcl ```hcl
variable "recordsets" { variable "recordsets" {
type = object({ type = list(object({
name = string name = string
type = string type = string
ttl = number ttl = number
records = list(string) records = list(string)
}) }))
} }
``` ```