keep .terraform.d/plugins for discovery
This commit is contained in:
parent
54998933f5
commit
52dbf94834
|
@ -21,6 +21,7 @@ func globalPluginDirs() []string {
|
|||
log.Printf("[ERROR] Error finding global config directory: %s", err)
|
||||
} else {
|
||||
machineDir := fmt.Sprintf("%s_%s", runtime.GOOS, runtime.GOARCH)
|
||||
ret = append(ret, filepath.Join(dir, "plugins"))
|
||||
ret = append(ret, filepath.Join(dir, "plugins", machineDir))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue