Skip to content

Commit

Permalink
cli: temporarily increase AWS ASG creation timeout (#2340)
Browse files Browse the repository at this point in the history
* increase ASG timeout

Signed-off-by: Moritz Sanft <[email protected]>

* make timeout dependent on SEV-SNP option

Signed-off-by: Moritz Sanft <[email protected]>

---------

Signed-off-by: Moritz Sanft <[email protected]>
  • Loading branch information
msanft authored Sep 20, 2023
1 parent f3f4944 commit dc837ed
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ resource "aws_autoscaling_group" "autoscaling_group" {
vpc_zone_identifier = [var.subnetwork]
target_group_arns = var.target_group_arns

# TODO(msanft): Remove this (to have the 10m default) once AWS SEV-SNP boot problems are resolved.
# Set a higher timeout for the ASG to fulfill the desired healthy capcity. Temporary workaround to
# long boot times on SEV-SNP machines on AWS.
wait_for_capacity_timeout = var.enable_snp ? "20m" : "10m"

dynamic "tag" {
for_each = var.tags
content {
Expand Down

0 comments on commit dc837ed

Please sign in to comment.