in astro/terraform/local.go [22:43]
func (s *Session) InitLocal() (Result, error) {
if !s.Initialized() {
if result, err := s.Init(); err != nil {
return result, err
}
}
args := []string{"remote", "config", "-disable"}
process, err := s.terraformCommand(args, []int{0})
if err != nil {
return nil, err
}
if err := process.Run(); err != nil {
return nil, err
}
return &terraformResult{
process: process,
}, nil
}