Creates a DNS Redirector droplet in DigitalOcean. SSH keys for each droplet will be outputted to the ssh_keys folder.
module "dns_rdir" {
source = "./modules/digitalocean/dns-rdir"
redirect_to = ["192.168.0.1"]
}
Name |
Required |
Value Type |
Description |
redirect_to |
Yes |
List |
List of IPs to redirect DNS traffic to. |
count |
No |
Integer |
Number of droplets to launch. Defaults to 1 . |
size |
No |
Integer |
Droplet size to launch. Defaults to 1gb . |
regions |
No |
List |
Regions to create Droplet(s) in. Defaults to NYC1 . Accepted values are NYC1/2/3, SFO1/2, AMS2/3, SGP1, LON1, FRA1, TOR1, BLR1. |
Name |
Value Type |
Description |
ips |
List |
IPs of created droplets. |