generated from cds-snc/project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: remove icons from alarm descriptions #194
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Update the alarm descriptions to remove the icons as these are making it harder to determine if it is an ERROR or OK action alarm triggered.
Production✅ Terraform Init: Plan: 0 to add, 15 to change, 0 to destroy Show summary
Show planResource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# aws_cloudwatch_metric_alarm.superset_ecs_errors["celery-beat"] will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "superset_ecs_errors" {
~ alarm_description = ":warning: celery-beat errors logged over 1 minute." -> "`celery-beat` errors logged over 1 minute."
id = "errors-celery-beat"
tags = {
"CostCentre" = "cds-superset-prod"
"Terraform" = "true"
}
# (21 unchanged attributes hidden)
}
# aws_cloudwatch_metric_alarm.superset_ecs_errors["celery-worker"] will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "superset_ecs_errors" {
~ alarm_description = ":warning: celery-worker errors logged over 1 minute." -> "`celery-worker` errors logged over 1 minute."
id = "errors-celery-worker"
tags = {
"CostCentre" = "cds-superset-prod"
"Terraform" = "true"
}
# (21 unchanged attributes hidden)
}
# aws_cloudwatch_metric_alarm.superset_ecs_errors["superset"] will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "superset_ecs_errors" {
~ alarm_description = ":warning: superset errors logged over 1 minute." -> "`superset` errors logged over 1 minute."
id = "errors-superset"
tags = {
"CostCentre" = "cds-superset-prod"
"Terraform" = "true"
}
# (21 unchanged attributes hidden)
}
# aws_cloudwatch_metric_alarm.superset_ecs_high_cpu["celery-beat"] will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "superset_ecs_high_cpu" {
~ alarm_description = ":warning: celery-beat high CPU use over 2 minutes." -> "`celery-beat` high CPU use over 2 minutes."
id = "ecs-celery-beat-high-cpu"
tags = {
"CostCentre" = "cds-superset-prod"
"Terraform" = "true"
}
# (21 unchanged attributes hidden)
}
# aws_cloudwatch_metric_alarm.superset_ecs_high_cpu["celery-worker"] will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "superset_ecs_high_cpu" {
~ alarm_description = ":warning: celery-worker high CPU use over 2 minutes." -> "`celery-worker` high CPU use over 2 minutes."
id = "ecs-celery-worker-high-cpu"
tags = {
"CostCentre" = "cds-superset-prod"
"Terraform" = "true"
}
# (21 unchanged attributes hidden)
}
# aws_cloudwatch_metric_alarm.superset_ecs_high_cpu["superset"] will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "superset_ecs_high_cpu" {
~ alarm_description = ":warning: superset high CPU use over 2 minutes." -> "`superset` high CPU use over 2 minutes."
id = "ecs-superset-high-cpu"
tags = {
"CostCentre" = "cds-superset-prod"
"Terraform" = "true"
}
# (21 unchanged attributes hidden)
}
# aws_cloudwatch_metric_alarm.superset_ecs_high_memory["celery-beat"] will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "superset_ecs_high_memory" {
~ alarm_description = ":warning: celery-beat high memory use over 2 minutes." -> "`celery-beat` high memory use over 2 minutes."
id = "ecs-celery-beat-high-memory"
tags = {
"CostCentre" = "cds-superset-prod"
"Terraform" = "true"
}
# (21 unchanged attributes hidden)
}
# aws_cloudwatch_metric_alarm.superset_ecs_high_memory["celery-worker"] will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "superset_ecs_high_memory" {
~ alarm_description = ":warning: celery-worker high memory use over 2 minutes." -> "`celery-worker` high memory use over 2 minutes."
id = "ecs-celery-worker-high-memory"
tags = {
"CostCentre" = "cds-superset-prod"
"Terraform" = "true"
}
# (21 unchanged attributes hidden)
}
# aws_cloudwatch_metric_alarm.superset_ecs_high_memory["superset"] will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "superset_ecs_high_memory" {
~ alarm_description = ":warning: superset high memory use over 2 minutes." -> "`superset` high memory use over 2 minutes."
id = "ecs-superset-high-memory"
tags = {
"CostCentre" = "cds-superset-prod"
"Terraform" = "true"
}
# (21 unchanged attributes hidden)
}
# aws_cloudwatch_metric_alarm.superset_load_balancer_healthy_hosts will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "superset_load_balancer_healthy_hosts" {
~ alarm_description = ":dumpster-fire: there are no healthy hosts for the Superset load balancer in a 1 minute period." -> "There are no healthy hosts for the Superset load balancer in a 1 minute period."
id = "load-balancer-healthy-hosts"
tags = {
"CostCentre" = "cds-superset-prod"
"Terraform" = "true"
}
# (21 unchanged attributes hidden)
}
# aws_cloudwatch_metric_alarm.superset_load_balancer_response_time will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "superset_load_balancer_response_time" {
~ alarm_description = ":warning: response time for the Superset load balancer is greater than 1 second over 5 minutes." -> "Response time for the Superset load balancer is greater than 1 second over 5 minutes."
id = "load-balancer-response-time"
tags = {
"CostCentre" = "cds-superset-prod"
"Terraform" = "true"
}
# (21 unchanged attributes hidden)
# (1 unchanged block hidden)
}
# aws_cloudwatch_metric_alarm.superset_load_balancer_unhealthy_hosts will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "superset_load_balancer_unhealthy_hosts" {
~ alarm_description = ":warning: there are unhealthy Superset load balancer hosts in a 1 minute period." -> "There are unhealthy Superset load balancer hosts in a 1 minute period."
id = "load-balancer-unhealthy-hosts"
tags = {
"CostCentre" = "cds-superset-prod"
"Terraform" = "true"
}
# (21 unchanged attributes hidden)
}
# module.celery_beat_ecs.aws_ecs_service.this will be updated in-place
~ resource "aws_ecs_service" "this" {
id = "arn:aws:ecs:ca-central-1:066023111852:service/superset/celery-beat"
name = "celery-beat"
tags = {
"CostCentre" = "cds-superset-prod"
"Terraform" = "true"
}
~ task_definition = "arn:aws:ecs:ca-central-1:066023111852:task-definition/celery-beat:69" -> "arn:aws:ecs:ca-central-1:066023111852:task-definition/celery-beat:55"
# (15 unchanged attributes hidden)
# (4 unchanged blocks hidden)
}
# module.celery_worker_ecs.aws_ecs_service.this will be updated in-place
~ resource "aws_ecs_service" "this" {
id = "arn:aws:ecs:ca-central-1:066023111852:service/superset/celery-worker"
name = "celery-worker"
tags = {
"CostCentre" = "cds-superset-prod"
"Terraform" = "true"
}
~ task_definition = "arn:aws:ecs:ca-central-1:066023111852:task-definition/celery-worker:70" -> "arn:aws:ecs:ca-central-1:066023111852:task-definition/celery-worker:56"
# (15 unchanged attributes hidden)
# (4 unchanged blocks hidden)
}
# module.superset_ecs.aws_ecs_service.this will be updated in-place
~ resource "aws_ecs_service" "this" {
id = "arn:aws:ecs:ca-central-1:066023111852:service/superset/superset"
name = "superset"
tags = {
"CostCentre" = "cds-superset-prod"
"Terraform" = "true"
}
~ task_definition = "arn:aws:ecs:ca-central-1:066023111852:task-definition/superset:86" -> "arn:aws:ecs:ca-central-1:066023111852:task-definition/superset:72"
# (15 unchanged attributes hidden)
# (5 unchanged blocks hidden)
}
Plan: 0 to add, 15 to change, 0 to destroy.
Warning: Argument is deprecated
with module.athena_bucket.aws_s3_bucket.this,
on .terraform/modules/athena_bucket/S3/main.tf line 8, in resource "aws_s3_bucket" "this":
8: resource "aws_s3_bucket" "this" {
Use the aws_s3_bucket_lifecycle_configuration resource instead
(and 5 more similar warnings elsewhere)
─────────────────────────────────────────────────────────────────────────────
Saved the plan to: plan.tfplan
To perform exactly these actions, run the following command to apply:
terraform apply "plan.tfplan"
Show Conftest resultsWARN - plan.json - main - Missing Common Tags: ["aws_elasticache_subnet_group.superset"]
WARN - plan.json - main - Missing Common Tags: ["aws_glue_crawler.cur_data_extract"]
WARN - plan.json - main - Missing Common Tags: ["aws_glue_crawler.notify"]
WARN - plan.json - main - Missing Common Tags: ["aws_iam_policy.data_export"]
WARN - plan.json - main - Missing Common Tags: ["aws_iam_policy.glue_etl"]
WARN - plan.json - main - Missing Common Tags: ["aws_iam_policy.glue_s3_crawler"]
WARN - plan.json - main - Missing Common Tags: ["aws_iam_policy.superset_athena_read"]
WARN - plan.json - main - Missing Common Tags: ["aws_iam_role.data_export"]
WARN - plan.json - main - Missing Common Tags: ["aws_iam_role.glue_crawler"]
WARN - plan.json - main - Missing Common Tags: ["aws_iam_role.glue_etl"]
WARN - plan.json - main - Missing Common Tags: ["aws_iam_role.superset_athena_read"]
WARN - plan.json - main - Missing Common Tags: ["aws_iam_role.superset_waf_logs"]
WARN - plan.json - main - Missing Common Tags: ["aws_kinesis_firehose_delivery_stream.superset_waf_logs"]
WARN - plan.json - main - Missing Common Tags: ["aws_kms_key.data_export"]
33 tests, 19 passed, 14 warnings, 0 failures, 0 exceptions
|
gcharest
approved these changes
Nov 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Update the alarm descriptions to remove the icons as these are making it harder to determine if it is an
ERROR
orOK
action alarm triggered.