Skip to content

Commit 44d8226

Browse files
authored
Merge pull request #33 from PhilippKorth/add_couchbackup_outputs
Add couchbackup outputs
2 parents 561e02b + 85b8ce8 commit 44d8226

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

modules/simphera_instance/couchbackup.tf

+14-1
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,17 @@ resource "azurerm_storage_share" "couchbackup-share" {
4444

4545
}
4646
}
47-
}
47+
}
48+
49+
output "couchbackup_storage_name" {
50+
value = azurerm_storage_account.couchbackup_storage_account.name
51+
}
52+
53+
output "couchbackup_storage_account_key" {
54+
value = azurerm_storage_account.couchbackup_storage_account.primary_access_key
55+
sensitive = true
56+
}
57+
58+
output "couchbackup_storage_share_name" {
59+
value = azurerm_storage_share.couchbackup-share.name
60+
}

modules/simphera_instance/postgresql.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ output "postgresql_server_hostname" {
4646

4747
output "postgresql_server_username" {
4848
value = local.fulllogin
49-
sensitive = false
49+
sensitive = true
5050
}
5151

5252
output "postgresql_server_password" {

simphera-instances.tf

+13
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,16 @@ output "minio_storage_passwords" {
5252
})
5353
sensitive = true
5454
}
55+
56+
output "couchbackup_storage_names" {
57+
value = module.simphera_instance[*].couchbackup_storage_name
58+
}
59+
60+
output "couchbackup_storage_account_keys" {
61+
value = module.simphera_instance[*].couchbackup_storage_account_key
62+
sensitive = true
63+
}
64+
65+
output "couchbackup_storage_share_names" {
66+
value = module.simphera_instance[*].couchbackup_storage_share_name
67+
}

0 commit comments

Comments
 (0)