From 57954f7ee440a77b7aecbbe12859a038e4ee0fb4 Mon Sep 17 00:00:00 2001 From: xpk Date: Sat, 24 Feb 2024 12:26:18 +0800 Subject: [PATCH] UPD: updated timeout_seconds with a hard-coded 60s --- modules/ManagementGovernance/ssm-schedule-run-command/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ManagementGovernance/ssm-schedule-run-command/main.tf b/modules/ManagementGovernance/ssm-schedule-run-command/main.tf index 1ea7b3d..7604ff6 100644 --- a/modules/ManagementGovernance/ssm-schedule-run-command/main.tf +++ b/modules/ManagementGovernance/ssm-schedule-run-command/main.tf @@ -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