fournisseur.tf 17 lignes · 517 octets
# Xen Orchestra : URL en wss://, jeton par l'environnement (`TF_VAR_jeton`), certificat vérifié
# (jamais `insecure`) : l'installeur passe la confiance par `SSL_CERT_FILE` (certificat relevé et
# confirmé, ou autorité interne fournie), après l'avoir vérifiée lui-même (D-082, OI-156).
variable "connexion" {
  type = object({ url = string })
}

variable "jeton" {
  type      = string
  sensitive = true
}

provider "xenorchestra" {
  url      = var.connexion.url
  token    = var.jeton
  insecure = false
}