We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4bf6f2 commit c1c1017Copy full SHA for c1c1017
1 file changed
contrib/digitalocean/provision-do-cluster.sh
@@ -32,15 +32,12 @@ if [ -z "$DEIS_NUM_INSTANCES" ]; then
32
DEIS_NUM_INSTANCES=3
33
fi
34
35
-regions_with_private_networking="4 5 6 7"
36
-if ! listcontains "$regions_with_private_networking" "$1";
+regions_without_private_networking="1 2 3"
+if listcontains "$regions_without_private_networking" "$1";
37
then
38
echo_red "Invalid region. Please supply a region with private networking support."
39
echo_red "Valid regions are:"
40
- echo_red "4: New York 2"
41
- echo_red "5: Amsterdam 2"
42
- echo_red "6: Singapore 1"
43
- echo_red "7: London 1"
+ tugboat regions | grep -v "id: [$regions_without_private_networking])"
44
exit 1
45
46
0 commit comments