Skip to content

Commit

Permalink
fix: RDS copy tags and audit logging (#1493)
Browse files Browse the repository at this point in the history
* fix: RDS copy tags and audit logging

Update to the latest TF module which will do the following:

1. Copy resource tags to snapshots.
2. Export database `audit` logs to CloudWatch.

* fix: ignore errors caused by people directly accessing WP files
  • Loading branch information
patheard authored Oct 20, 2023
1 parent 14287ed commit b19cd6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions infrastructure/terragrunt/aws/alarms/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ locals {
"GET /notification-gc-notify/wp-json/wp/v2/pages",
"HTTP/1.1\\\" 403",
"HTTP/1.1\\\" 404",
"Undefined constant",
]
wordpress_database_errors = [
"database error",
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/terragrunt/aws/database/rds.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# RDS MySQL cluster across 3 subnets
#
module "rds_cluster" {
source = "github.com/cds-snc/terraform-modules//rds?ref=v7.2.3"
source = "github.com/cds-snc/terraform-modules//rds?ref=v7.2.4"
name = "wordpress"

database_name = var.database_name
Expand Down

0 comments on commit b19cd6c

Please sign in to comment.