Skip to content

Commit a2f012d

Browse files
committed
steps 2-5 III
1 parent 6a4cf59 commit a2f012d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

terraform/csoc_sentinel.tf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,11 @@ resource "aws_iam_policy" "cwlogs_subscription_policy" {
4646

4747
# 4. Subscription Filter
4848
resource "aws_cloudwatch_log_subscription_filter" "cwlogs_subscription_logfilter" {
49-
name = "test_lambdafunction_logfilter"
49+
name = "${local.short_prefix}-cwlogs-subscription-logfilter"
5050
log_group_name = aws_cloudwatch_log_group.cwlogs_subscription_log_group.name
51-
filter_name = var.immunisation_account_id
5251
filter_pattern = ""
5352
destination_arn = "arn:aws:logs:eu-west-2:693466633220:destination:api_gateway_log_destination"
54-
role_arn = aws_iam_role.cwlogs_subscription_role.name
53+
role_arn = aws_iam_role.cwlogs_subscription_role.arn
5554
}
5655

5756
# 5. API Gateway Log Role

0 commit comments

Comments
 (0)