From 0e2974d193f9423983e7792a25cbab4eea654065 Mon Sep 17 00:00:00 2001 From: RouxAntoine Date: Sun, 3 Dec 2023 13:03:59 +0100 Subject: [PATCH] fix: password encoding --- generic-database/database.tf | 2 +- main.tf | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/generic-database/database.tf b/generic-database/database.tf index 34721a4..6512703 100644 --- a/generic-database/database.tf +++ b/generic-database/database.tf @@ -34,5 +34,5 @@ resource "postgresql_grant" "grant_all_public_schema" { role = postgresql_role.user.name object_type = "schema" schema = var.schema - privileges = ["ALL"] + privileges = ["CREATE", "USAGE"] } \ No newline at end of file diff --git a/main.tf b/main.tf index c91c62f..95f3b00 100644 --- a/main.tf +++ b/main.tf @@ -74,22 +74,22 @@ module "nextcloud" { } output "ampere_account" { - value = jsonencode(module.ampere.account) + value = module.ampere.account sensitive = true } output "cfssl_account" { - value = jsonencode(module.cfssl.account) + value = module.cfssl.account sensitive = true } output "gitea_account" { - value = jsonencode(module.gitea.account) + value = module.gitea.account sensitive = true } output "keycloak_account" { - value = jsonencode(module.keycloak.account) + value = module.keycloak.account sensitive = true } output "nextcloud_account" { - value = jsonencode(module.nextcloud.account) + value = module.nextcloud.account sensitive = true } \ No newline at end of file