func()

in astro/terraform/config.go [51:62]


func (config Config) Validate() (errs error) {
	if config.BasePath == "" {
		errs = multierror.Append(errs, errors.New("base path cannot be empty"))
	}
	if config.ModulePath == "" {
		errs = multierror.Append(errs, errors.New("module path cannot be empty"))
	}
	if config.TerraformPath == "" {
		errs = multierror.Append(errs, errors.New("terraform path cannot be empty"))
	}
	return errs
}