From e2a94b63028c05fa6307364ac39a199b8613f672 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 27 Apr 2024 16:54:32 +0100 Subject: [PATCH] Install hetzner provider --- terraform/.terraform.lock.hcl | 22 ++++++++++++++++++++++ terraform/terraform.tf | 4 ++++ terraform/variables.tf | 4 ++++ 3 files changed, 30 insertions(+) diff --git a/terraform/.terraform.lock.hcl b/terraform/.terraform.lock.hcl index ac46865..fc98f7d 100644 --- a/terraform/.terraform.lock.hcl +++ b/terraform/.terraform.lock.hcl @@ -137,6 +137,28 @@ provider "registry.terraform.io/hashicorp/local" { ] } +provider "registry.terraform.io/hetznercloud/hcloud" { + version = "1.46.1" + constraints = "1.46.1" + hashes = [ + "h1:cDJWhw9W+qj4ner9QX/+FBB6YvK9pnTVOugSAM+ejcM=", + "zh:0d8fb959c331b7cd9a13800198d65f61c604221b2fb05e0681c9cd432a6e2242", + "zh:31ab652fb504bff3fdee0de8e06cb4c7d08805f4d3e8430dac6a4ee8a52b949f", + "zh:493770ce314fc4f7b9536da077b217aa5af77b1d8c969639a257fda3dbd3e38b", + "zh:4c25ee2977d359db15c044a8bfeb00f64ca94a6bdea00774307768a9bad97996", + "zh:605c8e776cb69b1928c516ab1a9be9ea793c9405f038f224de5586db4983e621", + "zh:8c9b966a881f177199738253003dc1ee4944034598be4dfbb5465f6d28349c66", + "zh:8e6ec6e0f0572222f5a2d5748948c229a426408418c6500707711b1ae82fff1c", + "zh:a63e3ac7f84f0ad0c27399fb2ae4469570d9b216bbc06a89edeca6ff569f0ea0", + "zh:b03e6050ce2054665d824a02fcbe450cdfad29c082cf1d8adb29f8c138023457", + "zh:b40e03710694792cff0eb5ca3f7dc80ff0befd2957b0af3b248d36a4ac77293e", + "zh:bbd264b083a3f5e80a90c02ea3ec377231d030f4d9035bb0f1627f3b09504b00", + "zh:de2b119e4c39b3454199c34f4ce0fd60af11bd9012c46e2c907db53fd5969278", + "zh:e845750317897e45ab68e71326a43a7f143e0b5312aa9eba4fec907a3800a7f2", + "zh:eebc0085e7fa25d4eaf4e47be00dd7f64259f725ed86581d0acef8b8fde31b49", + ] +} + provider "registry.terraform.io/linode/linode" { version = "1.30.0" constraints = "1.30.0" diff --git a/terraform/terraform.tf b/terraform/terraform.tf index 0351b43..475c401 100644 --- a/terraform/terraform.tf +++ b/terraform/terraform.tf @@ -24,5 +24,9 @@ terraform { source = "Backblaze/b2" version = "0.8.9" } + hetzner = { + source = "hetznercloud/hcloud" + version = "1.46.1" + } } } diff --git a/terraform/variables.tf b/terraform/variables.tf index 98b6bdd..d953940 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -25,3 +25,7 @@ variable "backblaze_application_key" { variable "backblaze_application_key_id" { sensitive = true } + +variable "hetzner_token" { + sensitive = true +}