Skip to content

Commit

Permalink
make timeout dependent on SEV-SNP option
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Sanft <[email protected]>
  • Loading branch information
msanft committed Sep 15, 2023
1 parent ce2de53 commit 1dd7c40
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ resource "aws_autoscaling_group" "autoscaling_group" {
# 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 = "20m"
wait_for_capacity_timeout = var.enable_snp ? "20m" : "10m"

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

0 comments on commit 1dd7c40

Please sign in to comment.