diff --git a/plugin.go b/plugin.go index 428603a..93a2893 100644 --- a/plugin.go +++ b/plugin.go @@ -131,7 +131,9 @@ func submoduleOverride(submodules map[string]map[string]string) string { fileName := hex.EncodeToString(randBytes) + "_override.tf" if err := ioutil.WriteFile(fileName, fileContents, 0644); err != nil { - panic(err) + logrus.WithFields(logrus.Fields{ + "error": err, + }).Fatal("Error writing overrides file!") } return fileName