Skip to content

Commit

Permalink
reference pagerduty_integrations as default
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsweetman committed Oct 18, 2023
1 parent a2b9af8 commit 1bc9885
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 34 deletions.
8 changes: 4 additions & 4 deletions terraform/environments/corporate-staff-rostering/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,16 @@ locals {
enable_ec2_self_provision = true
enable_ec2_oracle_enterprise_managed_server = true
enable_ec2_user_keypair = true
cloudwatch_metric_alarms = {}
cloudwatch_metric_alarms_default_actions = ["csr_alarms"]
route53_resolver_rules = {
# outbound-data-and-private-subnets = ["azure-fixngo-domain"] # already set by nomis account
}
iam_policies_filter = ["ImageBuilderS3BucketWriteAndDeleteAccessPolicy"]
iam_policies_ec2_default = ["EC2S3BucketWriteAndDeleteAccessPolicy", "ImageBuilderS3BucketWriteAndDeleteAccessPolicy"]
s3_iam_policies = ["EC2S3BucketWriteAndDeleteAccessPolicy"]
sns_topics = {
# TODO: change this when we have a new csr integration for pagerduty
pagerduty_integrations = {
csr_pagerduty = "csr_alarms"
pagerduty_integrations = {
csr_alarms = "csr_alarms"
}
}
}
Expand Down Expand Up @@ -86,4 +85,5 @@ locals {
baseline_ssm_parameters = {}

baseline_sns_topics = {}

}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
locals {

app_ec2_cloudwatch_metric_alarms = merge(
app_ec2_cloudwatch_metric_alarms = merge(
module.baseline_presets.cloudwatch_metric_alarms.ec2,
module.baseline_presets.cloudwatch_metric_alarms.ec2_cwagent_windows
)
)

}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
locals {

web_ec2_cloudwatch_metric_alarms = merge(
web_ec2_cloudwatch_metric_alarms = merge(
module.baseline_presets.cloudwatch_metric_alarms.ec2,
module.baseline_presets.cloudwatch_metric_alarms.ec2_cwagent_windows
)
)

}
26 changes: 0 additions & 26 deletions terraform/environments/corporate-staff-rostering/monitoring.tf

This file was deleted.

0 comments on commit 1bc9885

Please sign in to comment.