- Add vSphere resource pool management - Configure CPU and memory allocation controls - Implement tagging system for organization - Add comprehensive documentation
25 lines
629 B
HCL
25 lines
629 B
HCL
output "resource_pool_ids" {
|
|
description = "Map of resource group names to their resource pool IDs"
|
|
value = {
|
|
for k, v in vsphere_resource_pool.resource_groups : k => v.id
|
|
}
|
|
}
|
|
|
|
output "resource_pool_names" {
|
|
description = "Map of resource group keys to their display names"
|
|
value = {
|
|
for k, v in var.resource_groups : k => v.name
|
|
}
|
|
}
|
|
|
|
output "environment_tag_id" {
|
|
description = "ID of the environment tag"
|
|
value = vsphere_tag.environment.id
|
|
}
|
|
|
|
output "resource_group_tag_ids" {
|
|
description = "Map of resource group tag IDs"
|
|
value = {
|
|
for k, v in vsphere_tag.resource_group : k => v.id
|
|
}
|
|
} |