mirror of
https://github.com/optim-enterprises-bv/terraform-talos.git
synced 2025-10-30 17:58:32 +00:00
add timeout for arm instances
This commit is contained in:
@@ -57,11 +57,11 @@ controlplane = {
|
|||||||
},
|
},
|
||||||
"fsn1" = {
|
"fsn1" = {
|
||||||
count = 1,
|
count = 1,
|
||||||
type = "cpx21",
|
type = "cax21",
|
||||||
},
|
},
|
||||||
"hel1" = {
|
"hel1" = {
|
||||||
count = 1,
|
count = 1,
|
||||||
type = "cax21",
|
type = "cpx21",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,14 +9,17 @@ packer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
source "hcloud" "talos" {
|
source "hcloud" "talos" {
|
||||||
token = var.hcloud_token
|
token = var.hcloud_token
|
||||||
rescue = "linux64"
|
rescue = "linux64"
|
||||||
image = "debian-11"
|
image = "debian-11"
|
||||||
location = var.hcloud_location
|
location = var.hcloud_location
|
||||||
server_type = var.hcloud_type
|
server_type = var.hcloud_type
|
||||||
ssh_username = "root"
|
|
||||||
|
|
||||||
snapshot_name = "talos system disk"
|
ssh_username = "root"
|
||||||
|
ssh_timeout = "15m"
|
||||||
|
ssh_disable_agent_forwarding = true
|
||||||
|
|
||||||
|
snapshot_name = "talos system disk ${substr(var.hcloud_type, 0, 2) == "ca" ? "arm64" : "amd64"}"
|
||||||
snapshot_labels = {
|
snapshot_labels = {
|
||||||
type = "infra",
|
type = "infra",
|
||||||
os = "talos",
|
os = "talos",
|
||||||
|
|||||||
Reference in New Issue
Block a user