terraform.aws-baseline-infra/modules/ManagementGovernance/ssm-schedule-run-command/variables.tf

36 lines
778 B
Terraform
Raw Normal View History

variable shell-script-path {
type = string
description = "Full path to script"
}
variable cron-expression {
type = string
description = "Cron expression for SSM maintenance window schedule"
}
variable instance-id {
type = string
description = "Id of Ec2 instance to execute the script"
}
variable description {
type = string
description = "Description of command to run"
}
variable schedule-name {
type = string
description = "Name of maintenance window. e.g. Daily0900UTC8"
}
variable maintenance-window-duration {
type = number
description = "Duration of maintenance window, must be >= 2"
default = 2
}
variable cloudwatch-log-retention-days {
type = number
description = "Days to retain logs on cloudwatch logs"
default = 30
}