Update Load Balancer based on Digital Ocean Droplets or Tags
Designed for use with blue/green deployments, but not limited to this.
$ go get github.com/jonnydford/do-loadbalancer-updater
In the future I'll be releasing a precompiled binary for you to download.
/path/to/executable --token DIGITALOCEAN_API_TOKEN --loadbalancer-id LOADBALANCER_ID --droplet-tag TAGNAME --region AMS2
Your API token must have read and write privileges.
--token
--loadbalancer-id
or --loadbalancer-name
--droplet-tag
All of the variables can also be set in your environment path, useful especially for the API token.