Compute
Physical Machine
Terraform reference for Physical Machine.
Schema Properties
| Property | Type | Description |
|---|---|---|
build_status_label | string | |
cdc_security | object | CDC security posture of the physical machine, as reported by the platform's monitoring facts. Read-only. |
cmdb_application_service | string | |
cmdb_management_group | string | |
cn_name | string | Name of machine in Netbox |
creation_date | string | Timestamp of when the virtual machine was created (Unix epoch) |
datacenter | string | Datacenter where the hardware is located |
fm_name | string | Name of machine in Foreman |
global_status | object | Foreman status |
health | string | iDRAC health status [OK|Warning|Error] |
instance | string | |
ip | string | IP address defined in the OS |
is_assigned | boolean | |
last_reboot_date | string | Last reboot time, derived from the host's uptime fact (now − system uptime). Approximate; refreshes with Puppet reports. |
location | string | Datacenter room |
memory_used_percent | number | |
model | string | Hardware model |
name | string | Name of the machine in Foreman if available. Otherwise the name of the machine in Netbox |
network_adapters | list(object) | |
oob_ip | string | IP address of the iDRAC |
operating_system | string | Operating system according to iDRAC |
position | string | Position in the serverrack |
power_state | string | iDRAC power state |
puppet_classes | list(string) | |
rack | string | Name of server rack |
role | string | Device role in Netbox |
sda_disk_capacity | string | |
sda_disk_partitioned | string | |
sdb_disk_capacity | string | |
serial_number | string | unique serial tag of the physical hardware |
status | string | iDRAC power state (replaced by power_state) |
subnet | object | |
team | string |
data "gi_compute_physical_machines" "filtered" { limit = 10 skip = 0 filter { field = "cmdb_application_service" operator = "eq" value = "example-value" } sort { field = "cmdb_application_service" descending = false }}# Access resultsoutput "physical_machine_list" { value = data.gi_compute_physical_machines.filtered.physical_machines[*].attributes.cmdb_application_service}