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