diff options
author | EuAndreh <eu@euandre.org> | 2020-08-29 17:22:06 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-08-29 18:59:14 -0300 |
commit | c6fa636da47e48f76a24f7f61320511306154aa3 (patch) | |
tree | 9186c662c6751d3a6e2b64a7b514bc7b84d651e7 /vps.tf | |
parent | Add ci-logs from static files (diff) | |
download | server-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.tf | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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" { |