Skip to content

Commit 0d166a2

Browse files
Merge branch 'main' into PLT-1112
2 parents 59c9096 + 791a9d0 commit 0d166a2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

scripts/prewarm.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ CREATE TEMP TABLE warmrels AS
2525
JOIN pg_user u ON u.usesysid = c.relowner
2626
WHERE u.usename NOT IN ('rdsadmin', 'rdsrepladmin', ' pg_signal_backend', 'rds_superuser', 'rds_replication')
2727
AND c.relkind NOT IN ('v', 'I', 'p')
28+
AND c.relpages > 0
2829
ORDER BY c.relpages ASC;
2930
SELECT * FROM warmrels;
3031

terraform/modules/firewall/variables.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ variable "app" {
88
}
99

1010
variable "env" {
11-
description = "The application environment (dev, test, sbx, prod)"
11+
description = "The application environment (dev, test, sbx, sandbox, prod)"
1212
type = string
1313
validation {
14-
condition = contains(["dev", "test", "sbx", "prod"], var.env)
15-
error_message = "Valid value for env is dev, test, sbx, or prod."
14+
condition = contains(["dev", "test", "sbx", "sandbox", "prod"], var.env)
15+
error_message = "Valid value for env is dev, test, sbx, sandbox, or prod."
1616
}
1717
}
1818

0 commit comments

Comments
 (0)