Global InfraGlobal Infra Cloud
Security

Host

Terraform reference for Host.

Schema Properties

PropertyTypeDescription
compute_id
string
compute_type
string
count
integer
datacenter
string
host_id
integer
host_web_url
string
instance
string
name
string
risk_score
integer
team
string
vulnerabilities
list(string)
Data Source
data "gi_security_hosts" "filtered" {  limit = 10  skip  = 0  filter {    field    = "compute_id"    operator = "eq"    value    = "example-value"  }  sort {    field      = "compute_id"    descending = false  }}# Access resultsoutput "host_list" {  value = data.gi_security_hosts.filtered.hosts[*].attributes.compute_id}

Usage Notes