File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed
Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,10 @@ resource "aws_cloudwatch_metric_alarm" "transfer_kill_switch_stopped_server" {
1313
1414 dimensions = {
1515 Workspace = terraform.workspace
16- # Optionally, also filter to a specific server if you want:
17- # ServerId = "s-xxxxxxxxxxxx"
1816 }
1917
2018 alarm_description = " Alarm when the Transfer Family kill switch stops a server in workspace ${ terraform . workspace } ."
2119
22- # Reuse the same topic that sends SQS alarms to IMAlertingLambda
2320 alarm_actions = [module . sqs_alarm_lambda_topic . arn ]
2421 ok_actions = [module . sqs_alarm_lambda_topic . arn ]
2522
Original file line number Diff line number Diff line change @@ -301,9 +301,3 @@ variable "kms_deletion_window" {
301301 type = number
302302 default = 30
303303}
304-
305- variable "transfer_server_id" {
306- description = " AWS Transfer Family server ID used by the kill switch Lambda (e.g. s-0123456789abcdef0). Leave empty to disable stopping."
307- type = string
308- default = " "
309- }
You can’t perform that action at this time.
0 commit comments