aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/digitalocean/server
diff options
context:
space:
mode:
Diffstat (limited to 'digitalocean/server')
-rw-r--r--digitalocean/server/variables.tf6
1 files changed, 6 insertions, 0 deletions
diff --git a/digitalocean/server/variables.tf b/digitalocean/server/variables.tf
index 4912b78..6f3881f 100644
--- a/digitalocean/server/variables.tf
+++ b/digitalocean/server/variables.tf
@@ -1,5 +1,7 @@
variable "region" {
type = string
+ # Get the full list, along with available droplet sizes:
+ # curl -H "Content-Type: application/json" -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" "https://api.digitalocean.com/v2/regions" | jq .
}
variable "project_id" {
type = string
@@ -33,10 +35,14 @@ variable "ssh_port" {
variable "image" {
type = string
default = "debian-12-x64"
+ # Get the full list:
+ # curl -H "Content-Type: application/json" -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" "https://api.digitalocean.com/v2/images?type=distribution" | jq .
}
variable "size" {
type = string
default = "s-1vcpu-2gb"
+ # Get the full list:
+ # curl -H "Content-Type: application/json" -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" "https://api.digitalocean.com/v2/sizes" | jq .
}
variable "alert_cpu_enable" {