52
52
return nil, errors.NotSupportedf("%q auth-type", authType)
58
func (p environProvider) PrepareForBootstrap(ctx environs.BootstrapContext, cfg *config.Config) (environs.Environ, error) {
59
59
env, err := newEnviron(cfg)
61
61
return nil, errors.Trace(err)
64
63
if ctx.ShouldVerifyCredentials() {
65
64
if err := env.gce.VerifyCredentials(); err != nil {
66
65
return nil, errors.Trace(err)