diff options
Diffstat (limited to 'vps.tf')
-rw-r--r-- | vps.tf | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -49,11 +49,10 @@ resource "vultr_instance" "vps_server" { hostname = var.hostname activation_email = true label = var.hostname - region = "sea" - # $ curl https://api.vultr.com/v1/plans/list?type=vc2 | jq '.["201"]' - plan = "vc2-1c-1gb" - # $ curl -H "API-Key: $TF_VAR_vultr_api_key" https://api.vultr.com/v1/snapshot/list | jq - snapshot_id = "5c35fb3a74873" # base-guix-image + region = "cdg" + plan = "vc2-1c-1gb" + # $ curl -H "Authorization: Bearer $TF_VAR_vultr_api_key" https://api.vultr.com/v2/snapshots | jq + snapshot_id = "8e6aaab6-7973-48a0-aeb5-cb99ab1ff43d" } output "public_ipv4" { @@ -64,7 +63,6 @@ output "public_ipv6" { value = vultr_instance.vps_server.v6_main_ip } - # DNS and IP configuration locals { |