Skip to content

Commit 4041084

Browse files
[PRM-134] Stopping alerting Lambda PITR and whitespacing
1 parent b10b37f commit 4041084

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

infrastructure/dynamo_db.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ module "alarm_state_history_table" {
419419
hash_key = "AlarmNameMetric"
420420
sort_key = "TimeCreated"
421421
deletion_protection_enabled = local.is_production
422-
point_in_time_recovery_enabled = !local.is_sandbox
422+
point_in_time_recovery_enabled = false
423423
stream_enabled = false
424424
ttl_enabled = true
425425
ttl_attribute_name = "TimeToExist"

infrastructure/lambda-search-patient.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,12 +159,12 @@ module "search_patient_alarm_topic" {
159159
})
160160
}
161161

162-
163162
resource "aws_sns_topic_subscription" "im_alerting_search_patient" {
164163
endpoint = module.im-alerting-lambda.lambda_arn
165164
protocol = "lambda"
166165
topic_arn = module.search_patient_alarm_topic.arn
167166
}
167+
168168
resource "aws_lambda_permission" "im_alerting_invoke_with_search_patient_sns" {
169169
statement_id = "AllowExecutionFromSeachPatientAlarmSNS"
170170
action = "lambda:InvokeFunction"

0 commit comments

Comments
 (0)