dnscontrol/providers/route53
Jaye Doepke 900d4042e8
ROUTE53: Adopt aws-sdk-go-v2 (#1321)
* Switch to aws-sdk-go-v2

AWS has released v2 of their SDK for Go.

See: https://aws.github.io/aws-sdk-go-v2/

One big advantage of this is no longer needing to export the
`AWS_SDK_LOAD_CONFIG=1` env var when using named profiles.

* Update integration test README

* Reenable pager601 and pager1201 integration tests for AWS Route53

* Implement intelligent batching for Route53 record changes

The AWS Route53 API for batch record changes limits the request size to
the smaller of:

- 1000 records.
- 32000 characters total for record values.

Also UPSERTs count as double (a DELETE and then a CREATE).

This commit changes how the record ChangeBatches are created to
respect these limits.

* Remove old comments

Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2021-12-07 16:29:29 -05:00
..
auditrecords.go Re-engineer TXT records for simplicity and better compliance (#1063) 2021-03-07 13:19:22 -05:00
route53Provider.go ROUTE53: Adopt aws-sdk-go-v2 (#1321) 2021-12-07 16:29:29 -05:00
route53Provider_test.go ROUTE53: Adopt aws-sdk-go-v2 (#1321) 2021-12-07 16:29:29 -05:00