Skip to content

Commit 1f5c12e

Browse files
committed
fix: fix ssh timeout on ami build
1 parent d6eaed0 commit 1f5c12e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

common-nix.vars.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
postgres-version = "15.6.1.5-nix-staged"
1+
postgres-version = "15.6.1.6-nix-staged"

stage2-nix-psql.pkr.hcl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,11 @@ source "amazon-ebs" "ubuntu" {
6464
most_recent = true
6565
owners = ["amazon", "self"]
6666
}
67+
68+
communicator = "ssh"
69+
ssh_pty = true
6770
ssh_username = "ubuntu"
71+
ssh_timeout = "5m"
6872
ena_support = true
6973
run_tags = {
7074
creator = "packer"

0 commit comments

Comments
 (0)