From 06a333331679e34ce0338695556c30e7019abc73 Mon Sep 17 00:00:00 2001 From: Kristin Laemmert Date: Mon, 3 Jun 2019 14:00:46 -0400 Subject: [PATCH] note: this is an unusual edgecase in the category of "probably should not happen" If https://github.com/hashicorp/terraform/issues/21543 is fixed, we can remove this check. --- command/jsonconfig/config.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/command/jsonconfig/config.go b/command/jsonconfig/config.go index 42f67364ba..0b27c7af4b 100644 --- a/command/jsonconfig/config.go +++ b/command/jsonconfig/config.go @@ -238,8 +238,7 @@ func marshalModuleCalls(c *configs.Config, schemas *terraform.Schemas) map[strin } func marshalModuleCall(c *configs.Config, mc *configs.ModuleCall, schemas *terraform.Schemas) moduleCall { - // It's possible, though unlikely, to have a module call with a nil config - // https://github.com/hashicorp/terraform/issues/21543 + // It is possible to have a module call with a nil config. if c == nil { return moduleCall{} }