mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
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
|
||||
variable "recordsets" {
|
||||
type = object({
|
||||
type = list(object({
|
||||
name = string
|
||||
type = string
|
||||
ttl = number
|
||||
records = list(string)
|
||||
})
|
||||
}))
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user