Skip to content
Corey Melanson edited this page Jul 19, 2018 · 1 revision

OpenNebula Provider Parameters

The opennebula provider has the following required parameters:

Parameter Description
endpoint URL to the OpenNebula XML-RPC API
username OpenNebula username
password OpenNebula password OR token

Provider Example

terraform.tfvars:

one_endpoint = "http://localhost:2633/RPC2"
one_username = "USERNAME"
one_password = "PASSWORD OR TOKEN"

terraform.tf:

variable "one_endpoint" {}
variable "one_username" {}
variable "one_password" {}

provider "opennebula" {
  endpoint = "${var.one_endpoint}"
  username = "${var.one_username}"
  password = "${var.one_password}"
}

Service Example

Resource Types:

Data Sources: