terraform-incus/modules/profile/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

38 lines
759 B
HCL

variable "name" {
description = "Name of the Incus profile"
type = string
}
variable "description" {
description = "Optional description of the profile"
type = string
default = null
}
variable "project" {
description = "Project where the profile will be created"
type = string
default = null
}
variable "config" {
description = "Map of Incus profile configuration settings"
type = map(string)
default = {}
}
variable "devices" {
description = <<EOT
List of device blocks. Each device is a map with:
- name (string)
- type (string)
- properties (map(string))
EOT
type = list(object({
name = string
type = string
properties = map(string)
}))
default = []
}