Merge pull request #1743 from ryanuber/do-nyc3

builder/digitalocean: default to nyc3
This commit is contained in:
Mitchell Hashimoto 2014-12-10 00:31:06 -08:00
commit 0cd7b590c5
2 changed files with 3 additions and 3 deletions

View File

@ -21,8 +21,8 @@ import (
const DefaultImage = "ubuntu-12-04-x64" const DefaultImage = "ubuntu-12-04-x64"
// see https://api.digitalocean.com/regions/?client_id=[client_id]&api_key=[api_key] // see https://api.digitalocean.com/regions/?client_id=[client_id]&api_key=[api_key]
// name="New York", id=1 // name="New York 3", id=8
const DefaultRegion = "nyc1" const DefaultRegion = "nyc3"
// see https://api.digitalocean.com/sizes/?client_id=[client_id]&api_key=[api_key] // see https://api.digitalocean.com/sizes/?client_id=[client_id]&api_key=[api_key]
// name="512MB", id=66 (the smallest droplet size) // name="512MB", id=66 (the smallest droplet size)

View File

@ -66,7 +66,7 @@ each category, the available configuration keys are alphabetized.
* `region` (string) - The name (or slug) of the region to launch the droplet in. * `region` (string) - The name (or slug) of the region to launch the droplet in.
Consequently, this is the region where the snapshot will be available. Consequently, this is the region where the snapshot will be available.
This defaults to "nyc1", which is the slug for "New York 1". This defaults to "nyc3", which is the slug for "New York 3".
See https://developers.digitalocean.com/regions/ for the accepted region names/slugs. See https://developers.digitalocean.com/regions/ for the accepted region names/slugs.
* `region_id` (integer) - The ID of the region to launch the droplet in. Consequently, * `region_id` (integer) - The ID of the region to launch the droplet in. Consequently,