Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.19 KB

File metadata and controls

41 lines (28 loc) · 1.19 KB
page_title subcategory description
vbmc_vbmc Resource - terraform-provider-sushy-vbmc
Manage a libvirt_domain Sushy Redfish Virtual BMC.

vbmc_vbmc (Resource)

This manages a libvirt_domain Sushy Redfish Virtual BMC.

Example Usage

This is normally used as:

resource "vbmc_vbmc" "example" {
  domain_id = libvirt_domain.example.id
  port = 8000 # NB when port is unset, the port will be automatically allocated.
}

resource "libvirt_domain" "example" {
  name = "example"
  ...
}

After terraform apply, the vbmc will be running at 127.0.0.1:8000. This endpoint can be used from a Go application using gofish.

For a complete example see rgl/terraform-provider-sushy-vbmc.

Schema

Required

  • domain_id (String) The libvirt domain id. This should reference an existing libvirt_domain resource.
  • port (Number) The vbmc port. When unset, the port will be automatically allocated.

Optional

  • address (String) The vbmc address. Defaults to 127.0.0.1.