UPD: updated timeout_seconds with a hard-coded 60s
This commit is contained in:
parent
cdcadc444e
commit
57954f7ee4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user