shithub: 9p.zone

ref: 02e7f61013b4d45ed87fa0efb17930200c2871be
dir: /deployment/vultr/terraform.tf/

View raw version
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
}