docs(flatten): Fix typos (#24492)
This commit is contained in:
parent
89bef596fc
commit
534ba630e4
|
@ -51,10 +51,8 @@ For example, consider a module that declares a variable like the following:
|
||||||
variable "networks" {
|
variable "networks" {
|
||||||
type = map(object({
|
type = map(object({
|
||||||
cidr_block = string
|
cidr_block = string
|
||||||
subnets = map(object({
|
subnets = map(object({ cidr_block = string }))
|
||||||
cidr_block = string
|
}))
|
||||||
})
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -101,7 +99,7 @@ resource "aws_subnet" "example" {
|
||||||
|
|
||||||
vpc_id = each.value.network_id
|
vpc_id = each.value.network_id
|
||||||
availability_zone = each.value.subnet_key
|
availability_zone = each.value.subnet_key
|
||||||
cidr_block = each.value_cidr_block
|
cidr_block = each.value.cidr_block
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue