Skip to content

Commit

Permalink
Fix formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew-Grayson committed Oct 25, 2023
1 parent 4d6a6cf commit cc2786c
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 32 deletions.
60 changes: 30 additions & 30 deletions infrastructure/log_alarms.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ resource "aws_cloudwatch_metric_alarm" "root_user" {
statistic = "SampleCount"

tags = {
Project = var.project
Stage = var.stage
Project = var.project
Stage = var.stage
Severity = var.severity_high
}
}
Expand All @@ -24,8 +24,8 @@ resource "aws_cloudwatch_metric_alarm" "unauthorized_api_call" {
statistic = "SampleCount"

tags = {
Project = var.project
Stage = var.stage
Project = var.project
Stage = var.stage
Severity = var.severity_low
}
}
Expand All @@ -40,8 +40,8 @@ resource "aws_cloudwatch_metric_alarm" "login_without_mfa" {
statistic = "SampleCount"

tags = {
Project = var.project
Stage = var.stage
Project = var.project
Stage = var.stage
Severity = var.severity_high
}
}
Expand All @@ -56,8 +56,8 @@ resource "aws_cloudwatch_metric_alarm" "iam_policy" {
statistic = "SampleCount"

tags = {
Project = var.project
Stage = var.stage
Project = var.project
Stage = var.stage
Severity = var.severity_high
}
}
Expand All @@ -72,8 +72,8 @@ resource "aws_cloudwatch_metric_alarm" "cloudtrail" {
statistic = "SampleCount"

tags = {
Project = var.project
Stage = var.stage
Project = var.project
Stage = var.stage
Severity = var.severity_high
}
}
Expand All @@ -88,8 +88,8 @@ resource "aws_cloudwatch_metric_alarm" "login_failure" {
statistic = "SampleCount"

tags = {
Project = var.project
Stage = var.stage
Project = var.project
Stage = var.stage
Severity = var.severity_low
}
}
Expand All @@ -104,8 +104,8 @@ resource "aws_cloudwatch_metric_alarm" "cmk_delete_disable" {
statistic = "SampleCount"

tags = {
Project = var.project
Stage = var.stage
Project = var.project
Stage = var.stage
Severity = var.severity_critical
}
}
Expand All @@ -120,8 +120,8 @@ resource "aws_cloudwatch_metric_alarm" "s3_bucket_policy" {
statistic = "SampleCount"

tags = {
Project = var.project
Stage = var.stage
Project = var.project
Stage = var.stage
Severity = var.severity_high
}
}
Expand All @@ -136,8 +136,8 @@ resource "aws_cloudwatch_metric_alarm" "aws_config" {
statistic = "SampleCount"

tags = {
Project = var.project
Stage = var.stage
Project = var.project
Stage = var.stage
Severity = var.severity_high
}
}
Expand All @@ -152,8 +152,8 @@ resource "aws_cloudwatch_metric_alarm" "security_group" {
statistic = "SampleCount"

tags = {
Project = var.project
Stage = var.stage
Project = var.project
Stage = var.stage
Severity = var.severity_high
}
}
Expand All @@ -168,8 +168,8 @@ resource "aws_cloudwatch_metric_alarm" "nacl" {
statistic = "SampleCount"

tags = {
Project = var.project
Stage = var.stage
Project = var.project
Stage = var.stage
Severity = var.severity_high
}
}
Expand All @@ -184,8 +184,8 @@ resource "aws_cloudwatch_metric_alarm" "network_gateway" {
statistic = "SampleCount"

tags = {
Project = var.project
Stage = var.stage
Project = var.project
Stage = var.stage
Severity = var.severity_high
}
}
Expand All @@ -200,8 +200,8 @@ resource "aws_cloudwatch_metric_alarm" "route_table" {
statistic = "SampleCount"

tags = {
Project = var.project
Stage = var.stage
Project = var.project
Stage = var.stage
Severity = var.severity_high
}
}
Expand All @@ -216,8 +216,8 @@ resource "aws_cloudwatch_metric_alarm" "vpc" {
statistic = "SampleCount"

tags = {
Project = var.project
Stage = var.stage
Project = var.project
Stage = var.stage
Severity = var.severity_high
}
}
Expand All @@ -231,8 +231,8 @@ resource "aws_cloudwatch_metric_alarm" "ec2_shutdown" {
statistic = "SampleCount"

tags = {
Project = var.project
Stage = var.stage
Project = var.project
Stage = var.stage
Severity = var.severity_critical
}
}
2 changes: 1 addition & 1 deletion infrastructure/prod.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ log_metric_nacl = "crossfeed-prod-NACLChange"
log_metric_network_gateway = "crossfeed-prod-NetworkGatewayChange"
log_metric_route_table = "crossfeed-prod-RouteTableChange"
log_metric_vpc = "crossfeed-prod-VPCChange"
log_metric_ec2_shutdown = "crossfeed-prod-SystemShutdown"
log_metric_ec2_shutdown = "crossfeed-prod-SystemShutdown"
sns_topic_alarms = "crossfeed-prod-cis-alarms"
ssm_lambda_subnet = "/crossfeed/prod/SUBNET_ID"
ssm_lambda_sg = "/crossfeed/prod/SG_ID"
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/stage.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ log_metric_nacl = "crossfeed-staging-NACLChange"
log_metric_network_gateway = "crossfeed-staging-NetworkGatewayChange"
log_metric_route_table = "crossfeed-staging-RouteTableChange"
log_metric_vpc = "crossfeed-staging-VPCChange"
log_metric_ec2_shutdown = "crossfeed-staging-SystemShutdown"
log_metric_ec2_shutdown = "crossfeed-staging-SystemShutdown"
sns_topic_alarms = "crossfeed-staging-cis-alarms"
ssm_lambda_subnet = "/crossfeed/staging/SUBNET_ID"
ssm_lambda_sg = "/crossfeed/staging/SG_ID"
Expand Down

0 comments on commit cc2786c

Please sign in to comment.