From 599407c03c61329de521d295b4e661370a9109f3 Mon Sep 17 00:00:00 2001 From: Zack Pollard Date: Thu, 9 Oct 2025 23:09:26 +0100 Subject: [PATCH] fix: automatically get file list for discord images (#1038) --- .../modules/scoped/discord/community/.terraform.lock.hcl | 3 ++- tf/deployment/modules/scoped/discord/community/images.tf | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tf/deployment/modules/scoped/discord/community/.terraform.lock.hcl b/tf/deployment/modules/scoped/discord/community/.terraform.lock.hcl index 1c0b6183..abf36bae 100644 --- a/tf/deployment/modules/scoped/discord/community/.terraform.lock.hcl +++ b/tf/deployment/modules/scoped/discord/community/.terraform.lock.hcl @@ -27,8 +27,9 @@ provider "registry.opentofu.org/1password/onepassword" { provider "registry.terraform.io/zp-forks/discord" { version = "3.1.0" - constraints = "~> 3.1" + constraints = "~> 3.0" hashes = [ + "h1:kGVbgnloSlgoufyydgkyL0SOPGNN/VRorKCgDPkiEFg=", "h1:tGX9kU94mzz5D3v9D6/FKFYbtRTfsCQHqNawCMx04Vs=", "zh:0a8c2ea7d4303b5cb8b77684c233e14eba79ff980e0fc7d2841e1de0d923ebe2", "zh:2e306f33a865529e3bcd2877c615cbca347f6bdb3684842d76eafb3811a8cbec", diff --git a/tf/deployment/modules/scoped/discord/community/images.tf b/tf/deployment/modules/scoped/discord/community/images.tf index a332c7e1..81ee676d 100644 --- a/tf/deployment/modules/scoped/discord/community/images.tf +++ b/tf/deployment/modules/scoped/discord/community/images.tf @@ -1,7 +1,5 @@ locals { - image_paths = [ - "${path.module}/images/grafana_128_128.webp", - ] + image_paths = fileset(path.module, "images/*.{png,jpg,jpeg,gif,webp,svg}") extensions = { for path in local.image_paths :