ref: 02e7f61013b4d45ed87fa0efb17930200c2871be
parent: ecf93a43decacde35e43b6953fc6446e563c2ed2
author: Sergey Ryabin <ryabin.ss@gmail.com>
date: Mon Jan 18 17:13:29 EST 2021
add terraform manifest to deploy on vultr
--- /dev/null
+++ b/deployment/vultr/terraform.tf
@@ -1,0 +1,42 @@
+erraform {
+ required_providers {
+ vultr = {
+ source = "vultr/vultr"
+ version = "2.1.2"
+ }
+ }
+}
+
+provider "vultr" {
+ api_key = "xxxx"
+ rate_limit = 700
+ retry_limit = 3
+}
+
+# Create a inferno instance
+resource "vultr_instance" "inferno" {
+ plan = "vc2-1c-1gb"
+ region = "fra"
+ os_id = "167"
+ label = "inferno"
+ tag = "inferno"
+ hostname = "registry.9p.zone"
+ enable_ipv6 = false
+ backups = "enabled"
+ ddos_protection = false
+ activation_email = false
+}
+
+
+resource "vultr_instance" "ninefront" {
+ plan = "vc2-1c-1gb"
+ region = "fra"
+ os_id = "167"
+ label = "9front"
+ tag = "9front"
+ hostname = "auth.9p.zone"
+ enable_ipv6 = false
+ backups = "enabled"
+ ddos_protection = false
+ activation_email = false
+}