feat: initial commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
locals {
|
||||
vm_ip = split("/", var.vm_ipv4_cidr)[0]
|
||||
}
|
||||
|
||||
output "vm_name" {
|
||||
value = proxmox_virtual_environment_vm.wazuh.name
|
||||
}
|
||||
|
||||
output "vm_ip" {
|
||||
value = local.vm_ip
|
||||
}
|
||||
|
||||
output "ssh_command" {
|
||||
value = "ssh ${var.vm_ssh_username}@${local.vm_ip} -p${var.vm_ssh_port}"
|
||||
}
|
||||
|
||||
output "wazuh_dashboard_url" {
|
||||
value = "https://${local.vm_ip}"
|
||||
}
|
||||
Reference in New Issue
Block a user