Skip to content

Commit

Permalink
Merge pull request #1138 from UKHSA-Internal/chore/make-feature-flag-…
Browse files Browse the repository at this point in the history
…db-accessible-in-dev-only--

Set to be accessible in dev environments only
  • Loading branch information
A-Ashiq authored Jan 7, 2025
2 parents 176d79c + dcd17a8 commit fdc0a8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion terraform/20-app/aurora-db.feature-flags.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module "aurora_db_feature_flags" {
engine_version = "15.5"
storage_encrypted = true

publicly_accessible = true
publicly_accessible = local.enable_public_db
deletion_protection = local.use_prod_sizing

manage_master_user_password = true
Expand Down
4 changes: 2 additions & 2 deletions terraform/20-app/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ locals {

scheduled_scaling_policies_for_non_essential_envs = {
start_of_working_day_scale_out = {
min_capacity = local.use_prod_sizing ? 3 : 1
max_capacity = local.use_prod_sizing ? 3 : 1
min_capacity = 1
max_capacity = 1
schedule = "cron(0 07 ? * MON-FRI *)" # Run every weekday at 7am
}
end_of_working_day_scale_in = {
Expand Down

0 comments on commit fdc0a8d

Please sign in to comment.