Browse Source

pass the ofile

pull/78/head
Chris Mague 6 years ago
parent
commit
dd9987c2bc
  1. 3
      plugin.go

3
plugin.go

@ -274,6 +274,7 @@ func tfShow(config Config) TfCommand {
"show", "show",
"-no-color", "-no-color",
} }
ofile := config.Difffile
if config.Difffile != "" { if config.Difffile != "" {
args = append(args, config.Planfile) args = append(args, config.Planfile)
} }
@ -283,7 +284,7 @@ func tfShow(config Config) TfCommand {
args..., args...,
) )
return (TfCommand{Tfcmd: cmd}) return (TfCommand{Tfcmd: cmd, Ofile: ofile})
} }

Loading…
Cancel
Save