From 10faf1b7f8b53ab256452bc96d7b094e9d7db3af Mon Sep 17 00:00:00 2001
From: Tobias Reisinger <tobias@msrg.cc>
Date: Tue, 15 Apr 2025 00:53:28 +0200
Subject: [PATCH] Remove unused s3 from opentofu services module

---
 modules/services/main.tf      | 1 -
 modules/services/variables.tf | 1 -
 2 files changed, 2 deletions(-)

diff --git a/modules/services/main.tf b/modules/services/main.tf
index 02e0134..4dc070a 100644
--- a/modules/services/main.tf
+++ b/modules/services/main.tf
@@ -18,6 +18,5 @@ terraform {
 locals {
   services_auth = {for key, val in var.services : key => val if val.auth}
   services_database = {for key, val in var.services : key => val if val.database}
-  services_s3 = {for key, val in var.services : key => val if val.s3}
   services_mail = {for key, val in var.services : key => val if val.mail != null}
 }
diff --git a/modules/services/variables.tf b/modules/services/variables.tf
index ae59dff..c70a7d9 100644
--- a/modules/services/variables.tf
+++ b/modules/services/variables.tf
@@ -16,7 +16,6 @@ variable "services" {
     auth = bool
     auth_cert = optional(string)
     auth_redirects = optional(list(string))
-    s3 = bool
     database = bool
     mail = optional(string)
   }))