Skip to content

Commit e5569fa

Browse files
authored
Merge pull request #34 from PhilippKorth/add_couchbackup_outputs
Switches back to map
2 parents 44d8226 + 9b370c3 commit e5569fa

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

simphera-instances.tf

+10-3
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,21 @@ output "minio_storage_passwords" {
5454
}
5555

5656
output "couchbackup_storage_names" {
57-
value = module.simphera_instance[*].couchbackup_storage_name
57+
value = tomap({
58+
for name, instance in module.simphera_instance : name => instance.couchbackup_storage_name
59+
})
5860
}
5961

6062
output "couchbackup_storage_account_keys" {
61-
value = module.simphera_instance[*].couchbackup_storage_account_key
63+
value = tomap({
64+
for name, instance in module.simphera_instance : name => instance.couchbackup_storage_account_key
65+
})
6266
sensitive = true
67+
6368
}
6469

6570
output "couchbackup_storage_share_names" {
66-
value = module.simphera_instance[*].couchbackup_storage_share_name
71+
value = tomap({
72+
for name, instance in module.simphera_instance : name => instance.couchbackup_storage_share_name
73+
})
6774
}

0 commit comments

Comments
 (0)