» Resource: aws_ssm_maintenance_window

Provides an SSM Maintenance Window resource

» Example Usage

resource "aws_ssm_maintenance_window" "production" {
  name     = "maintenance-window-application"
  schedule = "cron(0 16 ? * TUE *)"
  duration = 3
  cutoff   = 1
}

» Argument Reference

The following arguments are supported:

» Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - The ID of the maintenance window.

» Import

SSM Maintenance Windows can be imported using the maintenance window id, e.g. $ terraform import aws_ssm_maintenance_window.imported-window mw-0123456789