summaryrefslogtreecommitdiff
path: root/terraform/variables.tf
blob: 6610f2548f0154eb5e5e78cba4be4bc7969761fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Proxmox API

variable "proxmox_endpoint" {
  description = "Adres API Proxmox"
  type        = string
  default     = "https://pve:8006/api2/json"
}

variable "proxmox_api_token" {
  description = "API Token user@realm!token=secret"
  type        = string
  sensitive   = true
}


# Node

variable "node_name" {
  description = "Nazwa node Proxmox"
  type        = string
  default     = "pve"
}


# LXC

variable "lxc_id" {
  type    = number
  default = 200
}

variable "lxc_name" {
  type    = string
  default = "terraform-lxc"
}

variable "lxc_memory" {
  type    = number
  default = 1024
}

variable "lxc_cores" {
  type    = number
  default = 1
}