Skip to content

Commit a82680d

Browse files
[PRMT-866] small fixes
1 parent a4ec394 commit a82680d

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

infrastructure/transfer_alarms.tf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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

infrastructure/variable.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff 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-
}

0 commit comments

Comments
 (0)