-
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
tf release 2.17.36 #1701
tf release 2.17.36 #1701
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep!
production: common✅ Terraform Init: Plan: 4 to add, 0 to change, 4 to destroy Show summary
Show planResource actions are indicated with the following symbols:
-/+ destroy and then create replacement
Terraform will perform the following actions:
# module.notify_slack_critical.module.lambda.null_resource.archive[0] must be replaced
-/+ resource "null_resource" "archive" {
~ id = "732148828015066050" -> (known after apply)
~ triggers = { # forces replacement
~ "timestamp" = "1733855330558870000" -> "1734451364151135000"
# (1 unchanged element hidden)
}
}
# module.notify_slack_general.module.lambda.null_resource.archive[0] must be replaced
-/+ resource "null_resource" "archive" {
~ id = "5887758698079818604" -> (known after apply)
~ triggers = { # forces replacement
~ "timestamp" = "1733855323223335000" -> "1734451356951567000"
# (1 unchanged element hidden)
}
}
# module.notify_slack_ok.module.lambda.null_resource.archive[0] must be replaced
-/+ resource "null_resource" "archive" {
~ id = "521619497365468701" -> (known after apply)
~ triggers = { # forces replacement
~ "timestamp" = "1733855330545554000" -> "1734451364171858000"
# (1 unchanged element hidden)
}
}
# module.notify_slack_warning.module.lambda.null_resource.archive[0] must be replaced
-/+ resource "null_resource" "archive" {
~ id = "1731405938859845073" -> (known after apply)
~ triggers = { # forces replacement
~ "timestamp" = "1733855330600120000" -> "1734451364216184000"
# (1 unchanged element hidden)
}
}
Plan: 4 to add, 0 to change, 4 to destroy.
Warning: Argument is deprecated
with aws_s3_bucket.csv_bucket,
on s3.tf line 5, in resource "aws_s3_bucket" "csv_bucket":
5: resource "aws_s3_bucket" "csv_bucket" {
Use the aws_s3_bucket_lifecycle_configuration resource instead
(and 67 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_athena_workgroup.ad_hoc"]
WARN - plan.json - main - Missing Common Tags: ["aws_athena_workgroup.build_tables"]
WARN - plan.json - main - Missing Common Tags: ["aws_athena_workgroup.primary"]
WARN - plan.json - main - Missing Common Tags: ["aws_athena_workgroup.support"]
WARN - plan.json - main - Missing Common Tags: ["aws_budgets_budget.notify_global"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_event_rule.aws_health[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_log_group.route53_resolver_query_log[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_log_group.sns_deliveries[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_log_group.sns_deliveries_failures[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_log_group.sns_deliveries_failures_us_west_2[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_log_group.sns_deliveries_us_west_2[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.bulk-bulk-not-being-processed-critical[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.bulk-bulk-not-being-processed-warning[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.bulk-inflights-not-being-processed-critical[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.bulk-inflights-not-being-processed-warning[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.bulk-not-being-processed-critical[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.bulk-not-being-processed-warning[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.contact-3-500-error-15-minutes-critical[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.document-download-bucket-size-warning[0]"]
WARN - plan.json... |
production: eks✅ Terraform Init: Plan: 0 to add, 14 to change, 6 to destroy Show summary
Show planResource actions are indicated with the following symbols:
~ update in-place
- destroy
Terraform will perform the following actions:
# aws_cloudwatch_log_metric_filter.github-arc-runner-alarm[0] will be destroyed
# (because aws_cloudwatch_log_metric_filter.github-arc-runner-alarm is not in configuration)
- resource "aws_cloudwatch_log_metric_filter" "github-arc-runner-alarm" {
- id = "GitHub ARC Runners Write Alarm" -> null
- log_group_name = "/aws/containerinsights/notification-canada-ca-production-eks-cluster/application" -> null
- name = "GitHub ARC Runners Write Alarm" -> null
- pattern = "{ $.kubernetes.pod_name = \"github-arc-ss-production-*-runner-*\" && $.log = \"*ERROR*\" }" -> null
- metric_transformation {
- dimensions = {} -> null
- name = "aggregating-github-arc-runner-alarm" -> null
- namespace = "LogMetrics" -> null
- unit = "None" -> null
- value = "1" -> null
# (1 unchanged attribute hidden)
}
}
# aws_cloudwatch_metric_alarm.admin-replicas-unavailable[0] will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "admin-replicas-unavailable" {
id = "admin-replicas-unavailable"
tags = {}
~ treat_missing_data = "notBreaching" -> "breaching"
# (21 unchanged attributes hidden)
# (1 unchanged block hidden)
}
# aws_cloudwatch_metric_alarm.api-replicas-unavailable[0] will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "api-replicas-unavailable" {
id = "api-replicas-unavailable"
tags = {}
~ treat_missing_data = "notBreaching" -> "breaching"
# (21 unchanged attributes hidden)
# (1 unchanged block hidden)
}
# aws_cloudwatch_metric_alarm.celery-beat-replicas-unavailable[0] will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "celery-beat-replicas-unavailable" {
id = "celery-beat-replicas-unavailable"
tags = {}
~ treat_missing_data = "notBreaching" -> "breaching"
# (21 unchanged attributes hidden)
# (1 unchanged block hidden)
}
# aws_cloudwatch_metric_alarm.celery-email-send-primary-replicas-unavailable[0] will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "celery-email-send-primary-replicas-unavailable" {
id = "celery-email-send-primary-replicas-unavailable"
tags = {}
~ treat_missing_data = "notBreaching" -> "breaching"
# (21 unchanged attributes hidden)
# (1 unchanged block hidden)
}
# aws_cloudwatch_metric_alarm.celery-email-send-scalable-replicas-unavailable[0] will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "celery-email-send-scalable-replicas-unavailable" {
id = "celery-email-send-scalable-replicas-unavailable"
tags = {}
~ treat_missing_data = "notBreaching" -> "breaching"
# (21 unchanged attributes hidden)
# (1 unchanged block hidden)
}
# aws_cloudwatch_metric_alarm.celery-primary-replicas-unavailable[0] will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "celery-primary-replicas-unavailable" {
id = "celery-primary-replicas-unavailable"
tags = {}
~ treat_missing_data = "notBreaching" -> "breaching"
# (21 unchanged attributes hidden)
# (1 unchanged block hidden)
}
# aws_cloudwatch_metric_alarm.celery-scalable-replicas-unavailable[0] will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "celery-scalable-replicas-unavailable" {
id = "celery-scalable-replicas-unavailable"
tags = {}
~ treat_missing_data = "notBreaching" -> "breaching"
# (21 unchanged attributes hidden)
# (1 unchanged block hidden)
}
# aws_cloudwatch_metric_alarm.celery-sms-replicas-unavailable[0] will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "celery-sms-replicas-unavailable" {
id = "celery-sms-replicas-unavailable"
tags = {}
~ treat_missing_data = "notBreaching" -> "breaching"
# (21 unchanged attributes hidden)
# (1 unchanged block hidden)
}
# aws_cloudwatch_metric_alarm.celery-sms-send-primary-replicas-unavailable[0] will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "celery-sms-send-primary-replicas-unavailable" {
id = "celery-sms-send-primary-replicas-unavailable"
tags = {}
~ treat_missing_data = "notBreaching" -> "breaching"
# (21 unchanged attributes hidden)
# (1 unchanged block hidden)
}
# aws_cloudwatch_metric_alarm.celery-sms-send-scalable-replicas-unavailable[0] will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "celery-sms-send-scalable-replicas-unavailable" {
id = "celery-sms-send-scalable-replicas-unavailable"
tags = {}
~ treat_missing_data = "notBreaching" -> "breaching"
# (21 unchanged attributes hidden)
# (1 unchanged block hidden)
}
# aws_cloudwatch_metric_alarm.document-download-api-replicas-unavailable[0] will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "document-download-api-replicas-unavailable" {
id = "document-download-api-replicas-unavailable"
tags = {}
~ treat_missing_data = "notBreaching" -> "breaching"
# (21 unchanged attributes hidden)
# (1 unchanged block hidden)
}
# aws_cloudwatch_metric_alarm.documentation-replicas-unavailable[0] will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "documentation-replicas-unavailable" {
id = "documentation-replicas-unavailable"
tags = {}
~ treat_missing_data = "notBreaching" -> "breaching"
# (21 unchanged attributes hidden)
# (1 unchanged block hidden)
}
# aws_cloudwatch_metric_alarm.github-arc-runner-error-alarm[0] will be destroyed
# (because aws_cloudwatch_metric_alarm.github-arc-runner-error-alarm is not in configuration)
- resource "aws_cloudwatch_metric_alarm" "github-arc-runner-error-alarm" {
- actions_enabled = true -> null
- alarm_actions = [
- "arn:aws:sns:ca-central-1:296255494825:alert-critical",
] -> null
- alarm_description = "GitHub ARC Runners Are Failing" -> null
- alarm_name = "github-arc-runner-error-alarm" -> null
- arn = "arn:aws:cloudwatch:ca-central-1:296255494825:alarm:github-arc-runner-error-alarm" -> null
- comparison_operator = "LessThanThreshold" -> null
- datapoints_to_alarm = 0 -> null
- dimensions = {} -> null
- evaluation_periods = 1 -> null
- id = "github-arc-runner-error-alarm" -> null
- insufficient_data_actions = [] -> null
- metric_name = "aggregating-github-arc-runner-alarm" -> 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 = "notBreaching" -> null
# (4 unchanged attributes hidden)
}
# aws_cloudwatch_metric_alarm.karpenter-replicas-unavailable[0] will be updated in-place
~ resource "aws_cloudwatch_metric_alarm" "karpenter-replicas-unavailable" {
id = "karpenter-replicas-unavailable"
tags = {}
~ treat_missing_data = "notBreaching" -> "breaching"
# (21 unchanged attributes hidden)
# (1 unchanged block hidden)
}
# aws_cloudwatch_query_definition.gh-arc-errors[0] will be destroyed
# (because aws_cloudwatch_query_definition.gh-arc-errors is not in configuration)
- resource "aws_cloudwatch_query_definition" "gh-arc-errors" {
- id = "eb26b71f-6caa-48d7-bede-e011c03cfbb9" -> null
- log_group_names = [
- "/aws/containerinsights/notification-canada-ca-production-eks-cluster/application",
] -> null
- name = "CICD / GitHub ARC Errors" -> null
- query_definition_id = "eb26b71f-6caa-48d7-bede-e011c03cfbb9" -> null
- query_string = <<-EOT
fields @timestamp, @message, @logStream, @log
| filter @message like /ERR|Exception/
| filter kubernetes.namespace_name = "github-arc-controller"
| sort @timestamp desc
| limit 100
EOT -> null
}
# aws_iam_role.secrets_csi_github will be destroyed
# (because aws_iam_role.secrets_csi_github is not in configuration)
- resource "aws_iam_role" "secrets_csi_github" {
- arn = "arn:aws:iam::296255494825:role/secrets-csi-role-github" -> null
- assume_role_policy = jsonencode(
{
- Statement = [
- {
- Action = "sts:AssumeRoleWithWebIdentity"
- Condition = {
- StringEquals = {
- "oidc.eks.ca-central-1.amazonaws.com/id/BB1100A5BF4708019EB3830B49BF6B60:aud" = "sts.amazonaws.com"
- "oidc.eks.ca-central-1.amazonaws.com/id/BB1100A5BF4708019EB3830B49BF6B60:sub" = "system:serviceaccount:github-arc-controller:github-arc-gha-rs-controller"
}
}
- Effect = "Allow"
- Principal = {
- Federated = "arn:aws:iam::296255494825:oidc-provider/oidc.eks.ca-central-1.amazonaws.com/id/BB1100A5BF4708019EB3830B49BF6B60"
}
},
]
- Version = "2012-10-17"
}
) -> null
- create_date = "2024-03-12T13:48:42Z" -> null
- force_detach_policies = false -> null
- id = "secrets-csi-role-github" -> null
- managed_policy_arns = [
- "arn:aws:iam::296255494825:policy/parameters-csi-policy",
- "arn:aws:iam::296255494825:policy/secrets-csi-policy",
] -> null
- max_session_duration = 3600 -> null
- name = "secrets-csi-role-github" -> null
- path = "/" -> null
- tags = {} -> null
- tags_all = {} -> null
- unique_id = "AROAUJ6RUDKUQCAXC3STG" -> null
# (3 unchanged attributes hidden)
}
# aws_iam_role_policy_attachment.parameters_csi_github will be destroyed
# (because aws_iam_role_policy_attachment.parameters_csi_github is not in configuration)
- resource "aws_iam_role_policy_attachment" "parameters_csi_github" {
- id = "secrets-csi-role-github-20240312134842866100000004" -> null
- policy_arn = "arn:aws:iam::296255494825:policy/parameters-csi-policy" -> null
- role = "secrets-csi-role-github" -> null
}
# aws_iam_role_policy_attachment.secrets_csi_github will be destroyed
# (because aws_iam_role_policy_attachment.secrets_csi_github is not in configuration)
- resource "aws_iam_role_policy_attachment" "secrets_csi_github" {
- id = "secrets-csi-role-github-20240312134842784100000003" -> null
- policy_arn = "arn:aws:iam::296255494825:policy/secrets-csi-policy" -> null
- role = "secrets-csi-role-github" -> null
}
# module.sentinel_forwarder.aws_lambda_function.sentinel_forwarder will be updated in-place
~ resource "aws_lambda_function" "sentinel_forwarder" {
id = "sentinel-cloud-watch-forwarder"
~ layers = [
~ (sensitive value),
]
tags = {
"CostCentre" = "notification-canada-ca-production"
}
# (28 unchanged attributes hidden)
# (4 unchanged blocks hidden)
}
Plan: 0 to add, 14 to change, 6 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 - Missing Common Tags: ["aws_acm_certificate.client_vpn"]
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.internal_alb_tls"]
WARN - plan.json - main - Missing Common Tags: ["aws_alb_listener.notification-canada-ca"]
WARN - plan.json - main - Missing Common Tags: ["aws_alb_target_group.internal_nginx_http"]
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.blazer[0]"]
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:... |
Summary | Résumé
Cloudwatch Dev Env Fixes #1695
Tweak SMS Keywords #1694
Formatting #1697
Updating cloudwatch to new deployment names #1691
Fix Notify Admin Pr IAM #1699
Dev Environment fixes #1700
Related Issues | Cartes liées
Release
Before merging this PR
Read code suggestions left by the
cds-ai-codereviewer bot. Address
valid suggestions and shortly write down reasons to not address others. To help
with the classification of the comments, please use these reactions on each of the
comments made by the AI review:
The classifications will be extracted and summarized into an analysis of how helpful
or not the AI code review really is.
Test instructions | Instructions pour tester la modification
Smoke test
Release Instructions | Instructions pour le déploiement
None.
Reviewer checklist | Liste de vérification du réviseur