func makeRoute53Provider(server *testutil.HTTPServer) *DNSProviderRoute53 {
	auth := aws.Auth{"abc", "123", ""}
	client := route53.NewWithClient(auth, aws.Region{Route53Endpoint: server.URL}, testutil.DefaultClient)
	return &DNSProviderRoute53{client: client}
}
Esempio n. 2
0
func makeRoute53Provider(server *testutil.HTTPServer) *DNSProvider {
	auth := aws.Auth{AccessKey: "abc", SecretKey: "123", Token: ""}
	client := route53.NewWithClient(auth, aws.Region{Route53Endpoint: server.URL}, testutil.DefaultClient)
	return &DNSProvider{client: client}
}