Skip to content
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

release 2.17.62 #1752

Merged
merged 1 commit into from
Feb 6, 2025
Merged

release 2.17.62 #1752

merged 1 commit into from
Feb 6, 2025

Conversation

ben851
Copy link
Contributor

@ben851 ben851 commented Feb 6, 2025

Summary | Résumé

#1749 Tweak High DB CPU Alarms @sastels
#1750 Update lifecycle config for Scan files s3 @jzbahrai
#1751 Remove make decrypt for dev env create @ben851

Test instructions | Instructions pour tester la modification

Smoke Test Prod

Release Instructions | Instructions pour le déploiement

None.

Reviewer checklist | Liste de vérification du réviseur

  • This PR does not break existing functionality.
  • This PR does not violate GCNotify's privacy policies.
  • This PR does not raise new security concerns. Refer to our GC Notify Risk Register document on our Google drive.
  • This PR does not significantly alter performance.
  • Additional required documentation resulting of these changes is covered (such as the README, setup instructions, a related ADR or the technical documentation).

⚠ If boxes cannot be checked off before merging the PR, they should be moved to the "Release Instructions" section with appropriate steps required to verify before release. For example, changes to celery code may require tests on staging to verify that performance has not been affected.

@ben851 ben851 requested a review from a team February 6, 2025 14:26
@ben851 ben851 requested a review from jimleroyer as a code owner February 6, 2025 14:26
Copy link

github-actions bot commented Feb 6, 2025

production: common

✅   Terraform Init: success
✅   Terraform Validate: success
✅   Terraform Format: success
✅   Terraform Plan: success
✅   Conftest: success

Plan: 0 to add, 1 to change, 0 to destroy
Show summary
CHANGE NAME
update aws_s3_bucket.scan_files_document_bucket
Show plan
Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # aws_s3_bucket.scan_files_document_bucket will be updated in-place
  ~ resource "aws_s3_bucket" "scan_files_document_bucket" {
        id                          = "notification-canada-ca-production-document-download-scan-files"
        tags                        = {
            "CostCenter" = "notification-canada-ca-production"
        }
        # (14 unchanged attributes hidden)

      ~ lifecycle_rule {
            id                                     = "tf-s3-lifecycle-all-files"
            tags                                   = {}
            # (3 unchanged attributes hidden)

          ~ expiration {
              ~ days                         = 1 -> 7
                # (2 unchanged attributes hidden)
            }
        }

        # (4 unchanged blocks hidden)
    }

Plan: 0 to add, 1 to change, 0 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 68 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 results
WARN - 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.cloudwatch_data_scanned"]
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...

Copy link

github-actions bot commented Feb 6, 2025

production: rds

✅   Terraform Init: success
✅   Terraform Validate: success
✅   Terraform Format: success
✅   Terraform Plan: success
✅   Conftest: success

Plan: 0 to add, 6 to change, 0 to destroy
Show summary
CHANGE NAME
update aws_cloudwatch_metric_alarm.high-db-cpu-critical[0]
aws_cloudwatch_metric_alarm.high-db-cpu-critical[1]
aws_cloudwatch_metric_alarm.high-db-cpu-critical[2]
aws_cloudwatch_metric_alarm.high-db-cpu-warning[0]
aws_cloudwatch_metric_alarm.high-db-cpu-warning[1]
aws_cloudwatch_metric_alarm.high-db-cpu-warning[2]
Show plan
Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # aws_cloudwatch_metric_alarm.high-db-cpu-critical[0] will be updated in-place
  ~ resource "aws_cloudwatch_metric_alarm" "high-db-cpu-critical" {
      ~ alarm_description                     = "CPU usage of the RDS instance > 80%" -> "CPU usage of the RDS instance > 95%"
        id                                    = "high-db-cpu-critical-instance-0"
        tags                                  = {}
      ~ threshold                             = 80 -> 95
        # (20 unchanged attributes hidden)
    }

  # aws_cloudwatch_metric_alarm.high-db-cpu-critical[1] will be updated in-place
  ~ resource "aws_cloudwatch_metric_alarm" "high-db-cpu-critical" {
      ~ alarm_description                     = "CPU usage of the RDS instance > 80%" -> "CPU usage of the RDS instance > 95%"
        id                                    = "high-db-cpu-critical-instance-1"
        tags                                  = {}
      ~ threshold                             = 80 -> 95
        # (20 unchanged attributes hidden)
    }

  # aws_cloudwatch_metric_alarm.high-db-cpu-critical[2] will be updated in-place
  ~ resource "aws_cloudwatch_metric_alarm" "high-db-cpu-critical" {
      ~ alarm_description                     = "CPU usage of the RDS instance > 80%" -> "CPU usage of the RDS instance > 95%"
        id                                    = "high-db-cpu-critical-instance-2"
        tags                                  = {}
      ~ threshold                             = 80 -> 95
        # (20 unchanged attributes hidden)
    }

  # aws_cloudwatch_metric_alarm.high-db-cpu-warning[0] will be updated in-place
  ~ resource "aws_cloudwatch_metric_alarm" "high-db-cpu-warning" {
      ~ alarm_description                     = "CPU usage of the RDS instance > 50%" -> "CPU usage of the RDS instance > 80%"
        id                                    = "high-db-cpu-warning-instance-0"
        tags                                  = {}
      ~ threshold                             = 50 -> 80
        # (20 unchanged attributes hidden)
    }

  # aws_cloudwatch_metric_alarm.high-db-cpu-warning[1] will be updated in-place
  ~ resource "aws_cloudwatch_metric_alarm" "high-db-cpu-warning" {
      ~ alarm_description                     = "CPU usage of the RDS instance > 50%" -> "CPU usage of the RDS instance > 80%"
        id                                    = "high-db-cpu-warning-instance-1"
        tags                                  = {}
      ~ threshold                             = 50 -> 80
        # (20 unchanged attributes hidden)
    }

  # aws_cloudwatch_metric_alarm.high-db-cpu-warning[2] will be updated in-place
  ~ resource "aws_cloudwatch_metric_alarm" "high-db-cpu-warning" {
      ~ alarm_description                     = "CPU usage of the RDS instance > 50%" -> "CPU usage of the RDS instance > 80%"
        id                                    = "high-db-cpu-warning-instance-2"
        tags                                  = {}
      ~ threshold                             = 50 -> 80
        # (20 unchanged attributes hidden)
    }

Plan: 0 to add, 6 to change, 0 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 results
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_log_group.logs_exports"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.db-free-local-storage-critical[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.db-free-local-storage-critical[1]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.db-free-local-storage-critical[2]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.db-free-local-storage-warning[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.db-free-local-storage-warning[1]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.db-free-local-storage-warning[2]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.high-db-cpu-critical[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.high-db-cpu-critical[1]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.high-db-cpu-critical[2]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.high-db-cpu-warning[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.high-db-cpu-warning[1]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.high-db-cpu-warning[2]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.high-dbload-critical[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.high-dbload-critical[1]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.high-dbload-critical[2]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.high-dbload-warning[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.high-dbload-warning[1]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.high-dbload-warning[2]"]
WARN -...

Copy link
Contributor

@P0NDER0SA P0NDER0SA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok 👍🏻

@ben851 ben851 merged commit 61d12d5 into main Feb 6, 2025
26 checks passed
@ben851 ben851 deleted the release-2.17.62 branch February 6, 2025 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants