presslabs / zinc

Route 53 zone manager.
https://www.presslabs.com/code/zinc/
Other
42 stars 2 forks source link

When all ips are in the same region, we should create a simple weight based tree in aws #151

Closed calind closed 7 years ago

calind commented 7 years ago

Input:

Policy Members:
1.1.1.1 region:us-east-1 weight:10
1.1.1.2 region:us-east-1 weight:10

Output

In AWS:
_zn_policy           type:LatencyBased region:us-east-1 alias:_zn_policy_us-east-1
_zn_policy_us-east-1 type:Weigthed     ip:1.1.1.1 weight:10 
_zn_policy_us-east-1 type:Weigthed     ip:1.1.1.1 weight:10 

Expected Output

In AWS:
_zn_policy type:Weigthed     ip:1.1.1.1 weight:10 
_zn_policy type:Weigthed     ip:1.1.1.1 weight:10