lego/providers/dns/route53
James Nugent b2aab0377c dns/route53: Allow specifying hosted zone ID (#345)
* dns/route53: Allow specifying hosted zone ID

This commit adds support for specifying hosted zone ID via the
environment variable AWS_HOSTED_ZONE_ID. If this is not specified, the
previous discovery process is used.

This is useful in environments where multiple hosted zones for the same
domain name are present in an account.

* dns/route53: Fix up getHostedZoneID method params

Now that getHostedZoneID is a method on the DNSProvider struct, there is
no reason for it to take the Route53 client as a parameter - we can
simply use the reference stored in the struct.
2017-07-17 21:50:53 +02:00
..
fixtures_test.go Switch route53 provider to the official AWS SDK 2016-03-27 20:22:09 +02:00
route53.go dns/route53: Allow specifying hosted zone ID (#345) 2017-07-17 21:50:53 +02:00
route53_integration_test.go dns/route53: Allow specifying hosted zone ID (#345) 2017-07-17 21:50:53 +02:00
route53_test.go dns/route53: Allow specifying hosted zone ID (#345) 2017-07-17 21:50:53 +02:00
testutil_test.go Switch route53 provider to the official AWS SDK 2016-03-27 20:22:09 +02:00