Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1020 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 1020 Bytes

route53-etcd

Go Report Card license GitHub tag

Exposing IPs registred in etcd to route53

#Running

Application is avalable as both - docker image and signed rkt image:

sudo docker monder/route53-etcd:0.3.1 --etcd-endpoints=http://10.0.1.10:2379
# or
sudo rkt monder.cc/route53-etcd:v0.3.1

Will read the configuration in etcd path /hosts

#Example

etcdctl set /hosts/AAAAAAAAAA/test.domain.lan "/units/test-app/*/ip"

Will read all keys in etcd matching pattern /units/test-app/*/ip and will create/update route53 recordsets for ZoneID AAAAAAAAAA and domain test.domain.lan

If multiple keys match the pattern - route53 will have multiple addresses for the same domain.