예제 #1
0
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}
}
예제 #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}
}