File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,12 @@ source "amazon-ebssurrogate" "source" {
115115 # secret_key = "${var.aws_secret_key}"
116116 force_deregister = var. force-deregister
117117
118+ # Increase timeout for instance stop operations to handle large instances
119+ aws_polling {
120+ delay_seconds = 15
121+ max_attempts = 120 # 120 * 15s = 30 minutes max wait
122+ }
123+
118124 # Use latest official ubuntu noble ami owned by Canonical.
119125 source_ami_filter {
120126 filters = {
Original file line number Diff line number Diff line change @@ -81,6 +81,11 @@ source "amazon-ebs" "ubuntu" {
8181
8282 associate_public_ip_address = true
8383
84+ # Increase timeout for instance stop operations to handle large instances
85+ aws_polling {
86+ delay_seconds = 15
87+ max_attempts = 120 # 120 * 15s = 30 minutes max wait
88+ }
8489
8590 ena_support = true
8691
You can’t perform that action at this time.
0 commit comments