mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 17:52:32 +00:00
34 lines
819 B
HCL
34 lines
819 B
HCL
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
|
|
output "cluster_name" {
|
|
description = "The Vault cluster name"
|
|
value = var.cluster_name
|
|
}
|
|
|
|
output "followers" {
|
|
description = "The follower enos_vault_start resources"
|
|
value = enos_vault_start.followers
|
|
}
|
|
|
|
output "leader" {
|
|
description = "The leader enos_vault_start resource"
|
|
value = enos_vault_start.leader
|
|
}
|
|
|
|
output "private_ips" {
|
|
description = "Vault cluster target host private_ips"
|
|
value = [for host in var.target_hosts : host.private_ip]
|
|
}
|
|
|
|
output "public_ips" {
|
|
description = "Vault cluster target host public_ips"
|
|
value = [for host in var.target_hosts : host.public_ip]
|
|
}
|
|
|
|
output "target_hosts" {
|
|
description = "The vault cluster instances that were created"
|
|
|
|
value = var.target_hosts
|
|
}
|