From 534ba630e4278d285f679982387cbd3efb71db6e Mon Sep 17 00:00:00 2001 From: Eduard Tamsa Date: Fri, 10 Apr 2020 05:59:17 -0700 Subject: [PATCH] docs(flatten): Fix typos (#24492) --- website/docs/configuration/functions/flatten.html.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/website/docs/configuration/functions/flatten.html.md b/website/docs/configuration/functions/flatten.html.md index 0c290aa952..57211c4159 100644 --- a/website/docs/configuration/functions/flatten.html.md +++ b/website/docs/configuration/functions/flatten.html.md @@ -51,10 +51,8 @@ For example, consider a module that declares a variable like the following: variable "networks" { type = map(object({ cidr_block = string - subnets = map(object({ - cidr_block = string - }) - }) + subnets = map(object({ cidr_block = string })) + })) } ``` @@ -101,7 +99,7 @@ resource "aws_subnet" "example" { vpc_id = each.value.network_id availability_zone = each.value.subnet_key - cidr_block = each.value_cidr_block + cidr_block = each.value.cidr_block } ```