-
Notifications
You must be signed in to change notification settings - Fork 6
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
Update infrastructure_version.txt #1136
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
Production: eks✅ Terraform Init: Plan: 3 to add, 0 to change, 3 to destroy Show summary
Show planResource actions are indicated with the following symbols:
+ create
- destroy
Terraform will perform the following actions:
# aws_cloudwatch_log_metric_filter.aggregating-queues-are-active[0] will be created
+ resource "aws_cloudwatch_log_metric_filter" "aggregating-queues-are-active" {
+ id = (known after apply)
+ log_group_name = "/aws/containerinsights/notification-canada-ca-production-eks-cluster/application"
+ name = "aggregating-queues-are-active"
+ pattern = "Batch saving with"
+ metric_transformation {
+ name = "aggregating-queues-are-active"
+ namespace = "LogMetrics"
+ unit = "None"
+ value = "1"
}
}
# aws_cloudwatch_log_metric_filter.queues-are-active[0] will be destroyed
# (because aws_cloudwatch_log_metric_filter.queues-are-active is not in configuration)
- resource "aws_cloudwatch_log_metric_filter" "queues-are-active" {
- id = "queues-are-active" -> null
- log_group_name = "/aws/containerinsights/notification-canada-ca-production-eks-cluster/application" -> null
- name = "queues-are-active" -> null
- pattern = "Batch saving with" -> null
- metric_transformation {
- dimensions = {} -> null
- name = "queues-are-active" -> null
- namespace = "LogMetrics" -> null
- unit = "None" -> null
- value = "1" -> null
}
}
# aws_cloudwatch_metric_alarm.aggregating-queues-not-active-1-minute-warning[0] will be created
+ resource "aws_cloudwatch_metric_alarm" "aggregating-queues-not-active-1-minute-warning" {
+ actions_enabled = true
+ alarm_actions = [
+ "arn:aws:sns:ca-central-1:296255494825:alert-warning",
]
+ alarm_description = "Beat inbox tasks have not been active for one minute"
+ alarm_name = "aggregating-queues-not-active-1-minute-warning"
+ arn = (known after apply)
+ comparison_operator = "LessThanThreshold"
+ evaluate_low_sample_count_percentiles = (known after apply)
+ evaluation_periods = 1
+ id = (known after apply)
+ metric_name = "aggregating-queues-are-active"
+ namespace = "LogMetrics"
+ period = 60
+ statistic = "Sum"
+ tags_all = (known after apply)
+ threshold = 1
+ treat_missing_data = "breaching"
}
# aws_cloudwatch_metric_alarm.aggregating-queues-not-active-5-minutes-critical[0] will be created
+ resource "aws_cloudwatch_metric_alarm" "aggregating-queues-not-active-5-minutes-critical" {
+ actions_enabled = true
+ alarm_actions = [
+ "arn:aws:sns:ca-central-1:296255494825:alert-critical",
]
+ alarm_description = "Beat inbox tasks have not been active for 5 minutes"
+ alarm_name = "aggregating-queues-not-active-5-minutes-critical"
+ arn = (known after apply)
+ comparison_operator = "LessThanThreshold"
+ evaluate_low_sample_count_percentiles = (known after apply)
+ evaluation_periods = 1
+ id = (known after apply)
+ metric_name = "aggregating-queues-are-active"
+ namespace = "LogMetrics"
+ ok_actions = [
+ "arn:aws:sns:ca-central-1:296255494825:alert-critical",
]
+ period = 300
+ statistic = "Sum"
+ tags_all = (known after apply)
+ threshold = 1
+ treat_missing_data = "breaching"
}
# aws_cloudwatch_metric_alarm.queues-not-active-1-minute-warning[0] will be destroyed
# (because aws_cloudwatch_metric_alarm.queues-not-active-1-minute-warning is not in configuration)
- resource "aws_cloudwatch_metric_alarm" "queues-not-active-1-minute-warning" {
- actions_enabled = true -> null
- alarm_actions = [
- "arn:aws:sns:ca-central-1:296255494825:alert-warning",
] -> null
- alarm_description = "Queues have not been active for one minute" -> null
- alarm_name = "queues-not-active-1-minute-warning" -> null
- arn = "arn:aws:cloudwatch:ca-central-1:296255494825:alarm:queues-not-active-1-minute-warning" -> null
- comparison_operator = "LessThanThreshold" -> null
- datapoints_to_alarm = 0 -> null
- dimensions = {} -> null
- evaluation_periods = 1 -> null
- id = "queues-not-active-1-minute-warning" -> null
- insufficient_data_actions = [] -> null
- metric_name = "queues-are-active" -> null
- namespace = "LogMetrics" -> null
- ok_actions = [] -> null
- period = 60 -> null
- statistic = "Sum" -> null
- tags = {} -> null
- tags_all = {} -> null
- threshold = 1 -> null
- treat_missing_data = "breaching" -> null
}
# aws_cloudwatch_metric_alarm.queues-not-active-5-minutes-critical[0] will be destroyed
# (because aws_cloudwatch_metric_alarm.queues-not-active-5-minutes-critical is not in configuration)
- resource "aws_cloudwatch_metric_alarm" "queues-not-active-5-minutes-critical" {
- actions_enabled = true -> null
- alarm_actions = [
- "arn:aws:sns:ca-central-1:296255494825:alert-critical",
] -> null
- alarm_description = "Queues have not been active for 5 minutes" -> null
- alarm_name = "queues-not-active-5-minutes-critical" -> null
- arn = "arn:aws:cloudwatch:ca-central-1:296255494825:alarm:queues-not-active-5-minutes-critical" -> null
- comparison_operator = "LessThanThreshold" -> null
- datapoints_to_alarm = 0 -> null
- dimensions = {} -> null
- evaluation_periods = 1 -> null
- id = "queues-not-active-5-minutes-critical" -> null
- insufficient_data_actions = [] -> null
- metric_name = "queues-are-active" -> null
- namespace = "LogMetrics" -> null
- ok_actions = [
- "arn:aws:sns:ca-central-1:296255494825:alert-critical",
] -> null
- period = 300 -> null
- statistic = "Sum" -> null
- tags = {} -> null
- tags_all = {} -> null
- threshold = 1 -> null
- treat_missing_data = "breaching" -> null
}
Plan: 3 to add, 0 to change, 3 to destroy.
─────────────────────────────────────────────────────────────────────────────
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 - Cloudwatch log metric pattern is invalid: ["aws_cloudwatch_log_metric_filter.celery-error[0]"]
WARN - plan.json - main - Cloudwatch log metric pattern is invalid: ["aws_cloudwatch_log_metric_filter.scanfiles-timeout[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_acm_certificate.notification-canada-ca"]
WARN - plan.json - main - Missing Common Tags: ["aws_acm_certificate.notification-canada-ca-alt[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_alb.notification-canada-ca"]
WARN - plan.json - main - Missing Common Tags: ["aws_alb_listener.notification-canada-ca"]
WARN - plan.json - main - Missing Common Tags: ["aws_alb_target_group.notification-canada-ca-admin"]
WARN - plan.json - main - Missing Common Tags: ["aws_alb_target_group.notification-canada-ca-api"]
WARN - plan.json - main - Missing Common Tags: ["aws_alb_target_group.notification-canada-ca-document"]
WARN - plan.json - main - Missing Common Tags: ["aws_alb_target_group.notification-canada-ca-document-api"]
WARN - plan.json - main - Missing Common Tags: ["aws_alb_target_group.notification-canada-ca-documentation"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_log_group.notification-canada-ca-eks-application-logs[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_log_group.notification-canada-ca-eks-cluster-logs[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_log_group.notification-canada-ca-eks-prometheus-logs[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.admin-evicted-pods[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.admin-pods-high-cpu-warning[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.admin-pods-high-memory-warning[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.admin-replicas-unavailable[0]"]
WARN - plan.json - main - Missing Common Tags:... |
LGTM - @ben851 are your changes as expected? |
sastels
approved these changes
Jan 31, 2024
sastels
added a commit
that referenced
this pull request
Feb 9, 2024
* Update infrastructure_version.txt (#1136) * VPN Internal DNS (#1133) * The beginning of internal DNS for VPN * conditional parameter group name (#1138) * conditional parameter group name * Update aws/rds/rds.tf Co-authored-by: Steve Astels <[email protected]> --------- Co-authored-by: Steve Astels <[email protected]> * Worker node update (#1139) * Fixing double mock outputs (#1141) * Prod dns cfg path (#1142) * Fixing double mock outputs * adding config path --------- Co-authored-by: Jumana B <[email protected]> * Release 2.5.8 (#1140) * Release 2.5.8 * Update infrastructure_version.txt * Update infrastructure_version.txt * chore: synced local '.github/workflows/ossf-scorecard.yml' with remote 'tools/sre_file_sync/ossf-scorecard.yml' (#1137) Co-authored-by: sre-read-write[bot] <92993749+sre-read-write[bot]@users.noreply.github.com> * Adding account id to secret (#1144) * K8s upgraded to 1.29 (#1143) * K8s upgraded to 1.29 * Fixing prod hcl * chore(deps): update all minor dependencies (#555) * chore(deps): update all minor dependencies * changes for new version of rds_proxy --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Stephen Astels <[email protected]> Co-authored-by: Ben Larabie <[email protected]> * chore(deps): lock file maintenance (#594) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update all non-major github action dependencies (#597) * chore(deps): update all non-major github action dependencies * use tfsec v1.28.1 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Stephen Astels <[email protected]> Co-authored-by: Ben Larabie <[email protected]> * release 2.5.15 (#1145) * Adding internal HTTP ingress/egress to eks SG (#1146) * Refresh all QuickSight datasets (#1132) * refresh all the things * order refresh by dependancies --------- Co-authored-by: Jumana B <[email protected]> Co-authored-by: Ben Larabie <[email protected]> Co-authored-by: sre-read-write[bot] <92993749+sre-read-write[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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 | Résumé
Adding cw enable check on alarm (#1127)
chore: update alarm names/descriptions/metric filters to be more accu… (
#1131)
Add pull option to checkEnvFile (https://github.com/cds-snc/notification-terraform/pull/1135[)](https://github.com/cds-snc/notification-terraform/commit/c7794b6b6e823faf47e2142d448a1f17deb0f7e6)