From 2370467f86c4f1065cfcf7e78625349604bc0820 Mon Sep 17 00:00:00 2001
From: Matthew Baggett <matthew@baggett.me>
Date: Sat, 30 Nov 2024 11:46:25 +0100
Subject: [PATCH] Last nights uncommitted changes

---
 docker/config/terraform.tf                 |  2 +-
 docker/network/terraform.tf                |  2 +-
 products/forgejo/forgejo/inputs.tf         |  6 +++---
 products/nginx/site-available/terraform.tf |  2 +-
 utils/private-cidr/inputs.tf               | 12 ++++++------
 utils/private-cidr/terraform.tf            |  4 ++++
 6 files changed, 16 insertions(+), 12 deletions(-)

diff --git a/docker/config/terraform.tf b/docker/config/terraform.tf
index 915cafb..26d0fe2 100644
--- a/docker/config/terraform.tf
+++ b/docker/config/terraform.tf
@@ -12,7 +12,7 @@ terraform {
     }
     random = {
       source  = "hashicorp/random"
-      version = "~>3.3"
+      version = "~>3.5"
     }
   }
 }
diff --git a/docker/network/terraform.tf b/docker/network/terraform.tf
index e7ca61a..f4d980f 100644
--- a/docker/network/terraform.tf
+++ b/docker/network/terraform.tf
@@ -7,7 +7,7 @@ terraform {
     }
     random = {
       source  = "hashicorp/random"
-      version = "~>3.3"
+      version = "~>3.5"
     }
   }
 }
diff --git a/products/forgejo/forgejo/inputs.tf b/products/forgejo/forgejo/inputs.tf
index fec51b0..8880aa4 100644
--- a/products/forgejo/forgejo/inputs.tf
+++ b/products/forgejo/forgejo/inputs.tf
@@ -56,9 +56,9 @@ variable "mounts" {
 }
 
 variable "database_storage_path" {
-    type        = string
-    description = "Specify path to store the database data."
-    default     = null
+  type        = string
+  description = "Specify path to store the database data."
+  default     = null
 }
 
 variable "traefik" {
diff --git a/products/nginx/site-available/terraform.tf b/products/nginx/site-available/terraform.tf
index 053713e..fcd60c3 100644
--- a/products/nginx/site-available/terraform.tf
+++ b/products/nginx/site-available/terraform.tf
@@ -8,7 +8,7 @@ terraform {
     }
     random = {
       source  = "hashicorp/random"
-      version = "~>3.3"
+      version = "~>3.5"
     }
     local = {
       source  = "hashicorp/local"
diff --git a/utils/private-cidr/inputs.tf b/utils/private-cidr/inputs.tf
index 4f00736..8c585fe 100644
--- a/utils/private-cidr/inputs.tf
+++ b/utils/private-cidr/inputs.tf
@@ -1,12 +1,12 @@
 variable "prefix" {
-    type = number
-    default = 172
+  type    = number
+  default = 172
 }
 variable "subnet_mask" {
-    type = number
-    default = 24
+  type    = number
+  default = 24
 }
 variable "override_subnet" {
-    type = string
-    default = null
+  type    = string
+  default = null
 }
\ No newline at end of file
diff --git a/utils/private-cidr/terraform.tf b/utils/private-cidr/terraform.tf
index a9f39e7..787bb50 100644
--- a/utils/private-cidr/terraform.tf
+++ b/utils/private-cidr/terraform.tf
@@ -6,6 +6,10 @@ terraform {
       source  = "hashicorp/random"
       version = "~> 3.5"
     }
+    scratch = {
+      source  = "BrendanThompson/scratch"
+      version = "~> 0.4"
+    }
   }
 }