36 lines
903 B
Terraform
36 lines
903 B
Terraform
variable "instance-start-cron-expression" {
|
|
type = string
|
|
description = "Cron expression for instance start schedule"
|
|
}
|
|
|
|
variable "instance-stop-cron-expression" {
|
|
type = string
|
|
description = "Cron expression for instance stop schedule"
|
|
}
|
|
|
|
variable "instance-ids" {
|
|
type = list(string)
|
|
description = "Instances to be automatically started/stopped on schedule"
|
|
}
|
|
|
|
# variable "description" {
|
|
# type = string
|
|
# description = "A description of instances to be started/stopped on schedule"
|
|
# }
|
|
|
|
variable "cloudwatchlog-retention" {
|
|
type = number
|
|
description = "Cloudwatch log retention days"
|
|
default = 30
|
|
}
|
|
|
|
variable "kms-key-id" {
|
|
type = string
|
|
description = "CMK id for cloudwatchlog encryption"
|
|
}
|
|
|
|
variable "scheduler-timezone" {
|
|
type = string
|
|
default = "Asia/Hong_Kong"
|
|
description = "Timezone of event scheduler"
|
|
} |