terraform-incus/modules/project/variables.tf
Ben Vincent cb67816eee feat: initial commit
- have been working on this for some time now
2025-05-30 22:36:55 +10:00

89 lines
2.6 KiB
HCL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

variable "limits_containers" {
description = "Maximum number of containers that can be created in the project"
type = number
}
variable "limits_cpu" {
description = "Maximum number of CPUs to use in the project. This value is the maximum of the sum of individual instance CPU limits."
type = number
}
variable "limits_disk" {
description = "Maximum disk space used by the project. This includes all instance volumes, custom volumes, and images."
type = string
}
variable "limits_disk_pool" {
description = <<EOT
Map of storage pool names to disk space limits for each pool.
Each key is a POOL_NAME and the value is the maximum aggregate disk space used on that pool.
Example:
{
"default" = "50GB"
"ssd" = "100GB"
}
EOT
type = map(string)
}
variable "limits_instances" {
description = "Maximum number of instances that can be created in the project"
type = number
}
variable "limits_memory" {
description = "Usage limit for the hosts memory for the project. Sum of individual memory limits on instances."
type = string
}
variable "limits_networks" {
description = "Maximum number of networks that the project can have"
type = number
}
variable "limits_processes" {
description = "Maximum number of processes within the project. This is the sum of the limits.processes on all instances."
type = number
}
variable "limits_virtual_machines" {
description = "Maximum number of virtual machines that can be created in the project"
type = number
}
variable "features_images" {
description = "Whether to use a separate set of images for the project (initial value: true)"
type = bool
default = false
}
variable "features_networks" {
description = "Whether to use a separate set of networks for the project (initial value: false)"
type = bool
default = false
}
variable "features_networks_zones" {
description = "Whether to use a separate set of network zones for the project (initial value: false)"
type = bool
default = false
}
variable "features_profiles" {
description = "Whether to use a separate set of profiles for the project (initial value: true)"
type = bool
default = false
}
variable "features_storage_buckets" {
description = "Whether to use a separate set of storage buckets for the project (initial value: true)"
type = bool
default = false
}
variable "features_storage_volumes" {
description = "Whether to use a separate set of storage volumes for the project (initial value: true)"
type = bool
default = false
}