mirror of
https://github.com/optim-enterprises-bv/terraform-talos.git
synced 2025-10-29 17:42:47 +00:00
add timeout for arm instances
This commit is contained in:
@@ -57,11 +57,11 @@ controlplane = {
|
||||
},
|
||||
"fsn1" = {
|
||||
count = 1,
|
||||
type = "cpx21",
|
||||
type = "cax21",
|
||||
},
|
||||
"hel1" = {
|
||||
count = 1,
|
||||
type = "cax21",
|
||||
type = "cpx21",
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -9,14 +9,17 @@ packer {
|
||||
}
|
||||
|
||||
source "hcloud" "talos" {
|
||||
token = var.hcloud_token
|
||||
rescue = "linux64"
|
||||
image = "debian-11"
|
||||
location = var.hcloud_location
|
||||
server_type = var.hcloud_type
|
||||
ssh_username = "root"
|
||||
token = var.hcloud_token
|
||||
rescue = "linux64"
|
||||
image = "debian-11"
|
||||
location = var.hcloud_location
|
||||
server_type = var.hcloud_type
|
||||
|
||||
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 = {
|
||||
type = "infra",
|
||||
os = "talos",
|
||||
|
||||
Reference in New Issue
Block a user