terraform.aws-baseline-infra/modules/compute/ec2-instance-scheduler/variables.tf

25 lines
654 B
Terraform
Raw Normal View History

2024-02-27 10:23:48 +08:00
variable "instance-start-cron-expression" {
type = string
2024-02-26 11:05:53 +08:00
description = "Cron expression for instance start schedule"
}
2024-02-27 10:23:48 +08:00
variable "instance-stop-cron-expression" {
type = string
2024-02-26 11:05:53 +08:00
description = "Cron expression for instance stop schedule"
}
2024-02-27 10:23:48 +08:00
variable "instance-ids" {
type = list(string)
2024-02-26 11:05:53 +08:00
description = "Instances to be automatically started/stopped on schedule"
}
2024-02-27 10:23:48 +08:00
variable "description" {
type = string
2024-02-26 11:05:53 +08:00
description = "A description of instances to be started/stopped on schedule"
2024-02-26 12:16:42 +08:00
}
variable "cloudwatchlog-retention" {
type = number
description = "Cloudwatch log retention days"
default = 30
2024-02-26 11:05:53 +08:00
}