38 lines
759 B
HCL
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 = []
|
|
}
|