Update terraform/eval_for_each.go

Co-Authored-By: Pam Selle <pam@hashicorp.com>
This commit is contained in:
James Bardin 2020-04-09 11:47:16 -04:00 committed by GitHub
parent 73a20bfb17
commit 3d8b1dea97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ func evaluateForEachExpressionValue(expr hcl.Expression, ctx EvalContext) (cty.V
case forEachVal.LengthInt() == 0:
// If the map is empty ({}), return an empty map, because cty will
// return nil when representing {} AsValueMap This also covers an empty
// return nil when representing {} AsValueMap. This also covers an empty
// set (toset([]))
return forEachVal, diags
}