UPD: updated timeout_seconds with a hard-coded 60s

This commit is contained in:
xpk 2024-02-24 12:26:18 +08:00
parent cdcadc444e
commit 57954f7ee4
Signed by: xpk
GPG Key ID: CD4FF6793F09AB86

View File

@ -58,7 +58,7 @@ resource "aws_ssm_maintenance_window_task" "this" {
task_invocation_parameters {
run_command_parameters {
timeout_seconds = var.maintenance-window-duration * 60 - 15
timeout_seconds = 60 # If this time is reached and the command has not already started executing, it doesn't run.
cloudwatch_config {
cloudwatch_log_group_name = aws_cloudwatch_log_group.this.name