Skip to content

Commit

Permalink
Merge pull request #34 from PhilippKorth/add_couchbackup_outputs
Browse files Browse the repository at this point in the history
Switches back to map
  • Loading branch information
schwichti authored Feb 11, 2022
2 parents 44d8226 + 9b370c3 commit e5569fa
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions simphera-instances.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,21 @@ output "minio_storage_passwords" {
}

output "couchbackup_storage_names" {
value = module.simphera_instance[*].couchbackup_storage_name
value = tomap({
for name, instance in module.simphera_instance : name => instance.couchbackup_storage_name
})
}

output "couchbackup_storage_account_keys" {
value = module.simphera_instance[*].couchbackup_storage_account_key
value = tomap({
for name, instance in module.simphera_instance : name => instance.couchbackup_storage_account_key
})
sensitive = true

}

output "couchbackup_storage_share_names" {
value = module.simphera_instance[*].couchbackup_storage_share_name
value = tomap({
for name, instance in module.simphera_instance : name => instance.couchbackup_storage_share_name
})
}

0 comments on commit e5569fa

Please sign in to comment.