https://github.com/dgraph-io/route53
AWS Route53 provider implementation for libdns
https://github.com/dgraph-io/route53
Last synced: 6 months ago
JSON representation
AWS Route53 provider implementation for libdns
- Host: GitHub
- URL: https://github.com/dgraph-io/route53
- Owner: dgraph-io
- License: mit
- Archived: true
- Fork: true (libdns/route53)
- Created: 2020-12-30T08:53:18.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-29T18:21:23.000Z (over 4 years ago)
- Last Synced: 2024-06-20T08:20:03.999Z (about 2 years ago)
- Language: Go
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Route53 for `libdns`
=======================
[](https://pkg.go.dev/github.com/libdns/route53)
This package implements the [libdns interfaces](https://github.com/libdns/libdns) for AWS [Route53](https://aws.amazon.com/route53/).
## Authenticating
This package supports all the credential configuration methods described in the [AWS Developer Guide](https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html), such as `Environment Variables`, `EC2 Instance Profile` and the `AWS Credentials file` located in `.aws/credentials`. You may also pass in static credentials directly (or via caddy's configuration).
The following IAM policy is a minimal working example to give `libdns` permissions to manage DNS records:
```json
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "",
"Effect": "Allow",
"Action": [
"route53:ListResourceRecordSets",
"route53:GetChange",
"route53:ChangeResourceRecordSets"
],
"Resource": [
"arn:aws:route53:::hostedzone/ZABCD1EFGHIL",
"arn:aws:route53:::change/*"
]
},
{
"Sid": "",
"Effect": "Allow",
"Action": [
"route53:ListHostedZonesByName",
"route53:ListHostedZones"
],
"Resource": "*"
}
]
}
```