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:
parent
275e0a53f2
commit
62d32e9bb3
|
@ -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)
|
||||||
})
|
}))
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue