Terraform - Lambda - agent ec2 stop 추가

This commit is contained in:
dsk-minchulahn
2024-01-29 14:20:01 +09:00
parent 61149888de
commit 3c9be964a5
9 changed files with 149 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
variable "aws_region" {
default = "ap-northeast-2"
}
variable "dsk_lambda_role" {
type = string
default = "arn:aws:iam::508259851457:role/DSK_Lambda_Role"
}
variable "start_lambda_function_name" {
default = "dsk-agent-ec2-start"
}
variable "stop_lambda_function_name" {
default = "dsk-agent-ec2-stop"
}
variable "stop_lambda_schedule" {
default = "cron(0 14 * * ? *)"
}