File tree 3 files changed +102
-107
lines changed
infrastructure/dogfood/terraform/aws-tf-module
3 files changed +102
-107
lines changed Original file line number Diff line number Diff line change 65
65
66
66
- uses : hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1 # v2.0.3
67
67
with :
68
- terraform_version : 1.6.3
68
+ terraform_version : 1.10.2
69
69
terraform_wrapper : false
70
70
- name : Terraform Init
71
71
id : init
Original file line number Diff line number Diff line change @@ -370,7 +370,8 @@ module "osquery-carve" {
370
370
371
371
module "monitoring" {
372
372
source = " github.com/fleetdm/fleet//terraform/addons/monitoring?ref=tf-mod-addon-monitoring-v1.5.0"
373
- customer_prefix = local. customer
373
+ customer_prefix = local. customer
374
+ fleet_ecs_service_name = module. main . byo-vpc . byo-db . byo-ecs . service . name
374
375
albs = [
375
376
{
376
377
name = module.main.byo- vpc.byo- db.alb.lb_dns_name,
@@ -389,11 +390,11 @@ module "monitoring" {
389
390
threshold = 0
390
391
}
391
392
}
392
- }
393
+ }
393
394
]
394
395
sns_topic_arns_map = {
395
- alb_httpcode_5xx = [module.notify_slack.slack_topic_arn]
396
- cron_monitoring = [module.notify_slack.slack_topic_arn]
396
+ alb_httpcode_5xx = [module.notify_slack.slack_topic_arn]
397
+ cron_monitoring = [module.notify_slack.slack_topic_arn]
397
398
cron_job_failure_monitoring = [module.notify_slack_p2.slack_topic_arn]
398
399
}
399
400
mysql_cluster_members = module. main . byo-vpc . rds . cluster_members
@@ -490,7 +491,8 @@ module "notify_slack_p2" {
490
491
source = " terraform-aws-modules/notify-slack/aws"
491
492
version = " 5.5.0"
492
493
493
- sns_topic_name = " fleet-dogfood-p2-alerts"
494
+ lambda_function_name = " notify_slack_p2"
495
+ sns_topic_name = " fleet-dogfood-p2-alerts"
494
496
495
497
slack_webhook_url = var. slack_p2_webhook
496
498
slack_channel = " #help-p2"
You can’t perform that action at this time.
0 commit comments