Fist attempt to factor microOS install
This commit is contained in:
65
modules/host/variables.tf
Normal file
65
modules/host/variables.tf
Normal file
@@ -0,0 +1,65 @@
|
||||
variable "hcloud_token" {
|
||||
description = "Hetzner Cloud API Token"
|
||||
type = string
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "name" {
|
||||
description = "Host name"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "public_key" {
|
||||
description = "SSH public Key."
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "private_key" {
|
||||
description = "SSH private Key."
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "ssh_keys" {
|
||||
description = "List of SSH key IDs"
|
||||
type = list(string)
|
||||
nullable = true
|
||||
}
|
||||
|
||||
variable "firewall_ids" {
|
||||
description = "Set of firewal IDs"
|
||||
type = set(number)
|
||||
nullable = true
|
||||
}
|
||||
|
||||
variable "placement_group_id" {
|
||||
description = "Placement group ID"
|
||||
type = number
|
||||
nullable = true
|
||||
}
|
||||
|
||||
variable "labels" {
|
||||
description = "Labels"
|
||||
type = map(any)
|
||||
nullable = true
|
||||
}
|
||||
|
||||
variable "location" {
|
||||
description = "The server location"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "network_id" {
|
||||
description = "The network or subnet id"
|
||||
type = number
|
||||
}
|
||||
|
||||
variable "ip" {
|
||||
description = "The IP"
|
||||
type = string
|
||||
nullable = true
|
||||
}
|
||||
|
||||
variable "server_type" {
|
||||
description = "The server type"
|
||||
type = string
|
||||
}
|
Reference in New Issue
Block a user