File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,3 +15,9 @@ variable "send_logs_to_cyber" {
1515 type = bool
1616 default = true
1717}
18+
19+ variable "drift_detection_schedule" {
20+ description = " EventBridge schedule expression for drift detection"
21+ type = string
22+ default = " cron(0 9 ? * MON *)"
23+ }
Original file line number Diff line number Diff line change 1+ module "drift_detection" {
2+ source = " ../../../modules/drift-detection"
3+
4+ deployment_name = " deploy"
5+ schedule_expression = var. drift_detection_schedule
6+ }
Original file line number Diff line number Diff line change 1+ module "drift_detection" {
2+ source = " ../../../modules/drift-detection"
3+
4+ deployment_name = " integration"
5+ schedule_expression = var. drift_detection_schedule
6+ git_branch = " whi-tw/detect-deploy-integration-drift" # TODO: change back to "main" after testing
7+ }
Original file line number Diff line number Diff line change @@ -62,3 +62,9 @@ variable "pentester_cidr_ranges" {
6262 error_message = " Each entry in the last must be a valid IPv4 CIDR range"
6363 }
6464}
65+
66+ variable "drift_detection_schedule" {
67+ description = " EventBridge schedule expression for drift detection"
68+ type = string
69+ default = " cron(0 9 ? * MON *)"
70+ }
You can’t perform that action at this time.
0 commit comments