feat: add minimal PROD VM example

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Repinoid
2026-10-17 21:04:00 +03:00
co-authored by Copilot
parent 9731ba672f
commit 88242af900
12 changed files with 660 additions and 5 deletions
+38
View File
@@ -0,0 +1,38 @@
# UUID of the created VDC.
output "vdc_id" {
description = "UUID of the VDC."
value = nubes_vc_vdc.vdc.id
}
# UUID of the created Edge.
output "edge_id" {
description = "UUID of the Edge gateway."
value = nubes_vc_nsxt.edge.id
}
# UUID of the created vApp.
output "vapp_id" {
description = "UUID of the vApp."
value = nubes_vapp.vapp.id
}
# UUID of the created VM.
output "vm_id" {
description = "UUID of the VM."
value = nubes_vc_vm_v3.vm.id
}
# VM IP addresses and connection data returned by the API.
output "vm_state_flat" {
description = "Flat VM state; inspect externalConnect, internalConnect, and fqdn."
value = nubes_vc_vm_v3.vm.state_out_flat
}
# The configured organization allocation count, not the count of addresses in use.
output "org_ip_allocation" {
description = "Configured IP-space name and organization allocation count."
value = {
ip_space_name = var.ip_space_name
count = var.org_vip_count
}
}