From 6f75bb991ee3bc1edb5baa79b7dd5815102a76cd Mon Sep 17 00:00:00 2001 From: "ryan-distrust.co" Date: Wed, 2 Apr 2025 17:28:45 -0400 Subject: [PATCH] fix issue with concat'ing objects --- infra/main/main.tf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/infra/main/main.tf b/infra/main/main.tf index 0290012..6f8e3b5 100644 --- a/infra/main/main.tf +++ b/infra/main/main.tf @@ -125,7 +125,10 @@ locals { # `jq .database_users.value.forgejo | sops --encrypt` output "database_users" { value = { - for db_user in concat(module.digitalocean_database_cluster.database_users, module.digitalocean_mysql_database_cluster.database_users): + for db_user in concat( + values(module.digitalocean_database_cluster.database_users), + values(module.digitalocean_mysql_database_cluster.database_users), + ): db_user.name => { apiVersion = "v1", kind = "Secret",