foreman_computeresource

Foreman representation of computeresource. ComputeResources serve as an identification string that defines autonomy, authority, or control for a portion of a network.

Example Usage

# Autogenerated example with required keys
data "foreman_computeresource" "example" {
}

Argument Reference

The following arguments are supported:

  • name - (Required) The name of the compute resource.

Attributes Reference

The following attributes are exported:

  • cachingenabled - For VMware only
  • datacenter - For oVirt, VMware Datacenter
  • description - Description of the compute resource
  • displaytype - For Libvirt: "VNC" or "SPICE". For VMWare: "VNC" or "VMRC"
  • hypervisor - The HyperVisor/Cloud Provider for this Compute Resource:supported providers include "Libvirt", "Ovirt", "EC2","Vmware", "Openstack", "Rackspace", "GCE"
  • name - The name of the compute resource.
  • password - Password for oVirt, EC2, VMware, OpenStack. Secret key for EC2
  • server - For VMware
  • setconsolepassword - For Libvirt and VMware only
  • url - URL for Libvirt, oVirt, OpenStack and Rackspace
  • user - Username for oVirt, EC2, VMware, OpenStack. Access Key for EC2.