feat: new module ec2-instance-scheduler-sfn
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user