aboutsummaryrefslogtreecommitdiff
path: root/vps.tf
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-08-29 17:22:06 -0300
committerEuAndreh <eu@euandre.org>2020-08-29 18:59:14 -0300
commitc6fa636da47e48f76a24f7f61320511306154aa3 (patch)
tree9186c662c6751d3a6e2b64a7b514bc7b84d651e7 /vps.tf
parentAdd ci-logs from static files (diff)
downloadserver-c6fa636da47e48f76a24f7f61320511306154aa3.tar.gz
server-c6fa636da47e48f76a24f7f61320511306154aa3.tar.xz
Build new VPS server from snapshot using bigger machine
I'm using the snapshot here because I don't have any backup system yet, ¯\_(ツ)_/¯ This should be reverted on vps.tf after applying, and I should get down to doing automatic backups.
Diffstat (limited to 'vps.tf')
-rw-r--r--vps.tf5
1 files changed, 3 insertions, 2 deletions
diff --git a/vps.tf b/vps.tf
index 8e69d05..824e50c 100644
--- a/vps.tf
+++ b/vps.tf
@@ -35,9 +35,10 @@ resource "vultr_server" "vps_server" {
# $ curl https://api.vultr.com/v1/regions/list | jq '.["9"]'
region_id = 9
# $ curl https://api.vultr.com/v1/plans/list?type=vc2 | jq '.["201"]'
- plan_id = 201
+ plan_id = 202
# $ curl -H "API-Key: $TF_VAR_vultr_api_key" https://api.vultr.com/v1/snapshot/list | jq
- snapshot_id = "5d05f383bcf61"
+ # snapshot_id = "5d05f383bcf61"
+ snapshot_id = "12e5f4ab4e50a"
}
output "public_ip" {