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