aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/digitalocean
diff options
context:
space:
mode:
Diffstat (limited to 'digitalocean')
-rw-r--r--digitalocean/data_volume/variables.tf2
-rw-r--r--digitalocean/server/variables.tf6
2 files changed, 8 insertions, 0 deletions
diff --git a/digitalocean/data_volume/variables.tf b/digitalocean/data_volume/variables.tf
index 2d96a42..3c019ca 100644
--- a/digitalocean/data_volume/variables.tf
+++ b/digitalocean/data_volume/variables.tf
@@ -1,5 +1,7 @@
variable "region" {
type = string
+ # Get the full list:
+ # curl -H "Content-Type: application/json" -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" "https://api.digitalocean.com/v2/regions" | jq .
}
variable "project_id" {
type = string
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" {