fix issue with concat'ing objects
This commit is contained in:
parent
016dc52f8e
commit
6f75bb991e
|
@ -125,7 +125,10 @@ locals {
|
||||||
# `jq .database_users.value.forgejo | sops --encrypt`
|
# `jq .database_users.value.forgejo | sops --encrypt`
|
||||||
output "database_users" {
|
output "database_users" {
|
||||||
value = {
|
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 => {
|
db_user.name => {
|
||||||
apiVersion = "v1",
|
apiVersion = "v1",
|
||||||
kind = "Secret",
|
kind = "Secret",
|
||||||
|
|
Loading…
Reference in New Issue