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.
This commit is contained in:
parent
703f024cbd
commit
06a3333316
|
@ -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{}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue