Supprimer variables.tf
This commit is contained in:
parent
da69ef333c
commit
ab59474bc1
95
variables.tf
95
variables.tf
@ -1,95 +0,0 @@
|
||||
variable "proxmox_url" {
|
||||
description = "URL de l'API Proxmox"
|
||||
type = string
|
||||
default = "https://proxmox.firewax.fr/api2/json"
|
||||
}
|
||||
|
||||
variable "proxmox_token_id" {
|
||||
description = "token ID"
|
||||
type = string
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "proxmox_token_secret" {
|
||||
description = "secret Token"
|
||||
type = string
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "proxmox_insecure_tls" {
|
||||
description = "Ignorer les erreurs de certificat SSL"
|
||||
type = bool
|
||||
default = true
|
||||
}
|
||||
|
||||
variable "target_node" {
|
||||
description = "Nom du nœud Proxmox"
|
||||
type = string
|
||||
default = "pve"
|
||||
}
|
||||
|
||||
variable "default_storage" {
|
||||
description = "Storage par défaut pour les disques"
|
||||
type = string
|
||||
default = "local"
|
||||
}
|
||||
|
||||
variable "default_bridge" {
|
||||
description = "Bridge réseau par défaut"
|
||||
type = string
|
||||
default = "vmbr0"
|
||||
}
|
||||
|
||||
variable "default_gateway" {
|
||||
description = "Passerelle par défaut"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "dns_servers" {
|
||||
description = "Serveurs DNS"
|
||||
type = string
|
||||
default = "8.8.8.8 8.8.4.4"
|
||||
}
|
||||
|
||||
variable "vms" {
|
||||
description = "Configuration des machines virtuelles"
|
||||
type = map(object({
|
||||
cores = number
|
||||
memory = number
|
||||
disk_size = string
|
||||
ip = string
|
||||
vlan_tag = optional(number)
|
||||
template = optional(string)
|
||||
}))
|
||||
default = {}
|
||||
}
|
||||
|
||||
variable "lxc_templates" {
|
||||
description = "Templates disponibles pour les containers"
|
||||
type = map(string)
|
||||
default = {
|
||||
ubuntu = "local:vztmpl/ubuntu-22.04-standard_22.04-1_amd64.tar.zst"
|
||||
debian = "local:vztmpl/debian-12-standard_12.7-1_amd64.tar.zst"
|
||||
}
|
||||
}
|
||||
|
||||
variable "containers" {
|
||||
description = "Configuration des containers LXC"
|
||||
type = map(object({
|
||||
template = string
|
||||
cores = number
|
||||
memory = number
|
||||
disk_size = string
|
||||
ip = string
|
||||
vlan_tag = optional(number)
|
||||
privileged = optional(bool)
|
||||
enable_docker = optional(bool)
|
||||
}))
|
||||
default = {}
|
||||
}
|
||||
|
||||
variable "lxcrootPass" {
|
||||
description = "mot de passe"
|
||||
type = string
|
||||
sensitive = true
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user