layout | page_title | description |
---|---|---|
Provider: Cobbler |
The Cobbler provider provides resources to interact with the Cobbler API. |
The current version of the provider is only compatible with the Cobbler 3.3.x release series. Other versions are incompatible.
The Cobbler provider is used to interact with a locally installed Cobbler service. The provider needs to be configured with the proper credentials before it can be used.
Use the navigation to the left to read about the available resources.
terraform {
required_providers {
cobbler = {
source = "cobbler/cobbler"
version = "4.1.0"
}
}
}
variable "username" {
type = string
}
variable "password" {
type = string
}
variable "url" {
type = string
}
variable "insecure" {
type = bool
}
provider "cobbler" {
username = var.username # optionally use COBBLER_USERNAME env var
password = var.password # optionally use COBBLER_PASSWORD env var
url = var.url # optionally use COBBLER_URL env var
# You may need to allow insecure TLS communications unless you
# have configured certificates
insecure = var.insecure # optionally use COBBLER_INSECURE env var
}
password
(String) The password to the Cobbler service. This can also be specified with theCOBBLER_PASSWORD
shell environment variable.url
(String) The url to the Cobbler service. This can also be specified with theCOBBLER_URL
shell environment variable.username
(String) The username to the Cobbler service. This can also be specified with theCOBBLER_USERNAME
shell environment variable.
cacert_file
(String) The path or contents of an SSL CA certificate. This can also be specified with theCOBBLER_CACERT_FILE
shell environment variable.insecure
(Boolean) The url to the Cobbler service. This can also be specified with theCOBBLER_URL
shell environment variable.