commit 11222036bea32cd4a44621b66bec6c563e6c21d0 parent b949a41cadcc8cbe994425c0df7542d40814d8a1 Author: John Kubach <johnkubach@gmail.com> Date: Thu, 23 Sep 2021 16:23:04 -0400 Add Vultr OpenBSD Server Diffstat:
A | vultr/openbsd-server/openbsd-server01.tf | | | 9 | +++++++++ |
A | vultr/openbsd-server/provider.tf | | | 15 | +++++++++++++++ |
2 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/vultr/openbsd-server/openbsd-server01.tf b/vultr/openbsd-server/openbsd-server01.tf @@ -0,0 +1,9 @@ +resource "vultr_instance" "openbsd-server01" { + plan = "vc2-1c-1gb" + region = "ewr" + os_id = 450 + label = "openbsd-terraform" + hostname = "terra" + enable_ipv6 = true + activation_email = false +} diff --git a/vultr/openbsd-server/provider.tf b/vultr/openbsd-server/provider.tf @@ -0,0 +1,15 @@ +terraform { + required_providers { + vultr = { + source = "vultr/vultr" + version = "~> 2.4.2" + } + } +} + +variable "vultr_token" {} +variable "pvt_key" {} + +provider "vultr" { + api_key = var.vultr_token +}