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 and derpsteb committed Oct 2, 2023
1 parent cad9b7a commit 414c711
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 414c711

Please sign in to comment.