packer template with parameters
This commit is contained in:
parent
408a111299
commit
854c3aecad
1 changed files with 2 additions and 3 deletions
|
|
@ -1,14 +1,14 @@
|
||||||
packer {
|
packer {
|
||||||
required_plugins {
|
required_plugins {
|
||||||
hcloud = {
|
hcloud = {
|
||||||
version = ">= 1.2"
|
version = ">= 1.6"
|
||||||
source = "github.com/hetznercloud/hcloud"
|
source = "github.com/hetznercloud/hcloud"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "version" {
|
variable "version" {
|
||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "schematic_id" {
|
variable "schematic_id" {
|
||||||
|
|
@ -37,7 +37,6 @@ source "hcloud" "talos" {
|
||||||
os = "talos",
|
os = "talos",
|
||||||
version = "${var.version}",
|
version = "${var.version}",
|
||||||
cluster = "${var.cluster_name}"
|
cluster = "${var.cluster_name}"
|
||||||
#schematic = "${var.talos_schematic_id}"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue