Skip to content

Commit

Permalink
Merge pull request #4638 from ministryofjustice/dsos-1718/oasys-pp-bi…
Browse files Browse the repository at this point in the history
…p-up

dsos-1718/oasys pp bip up
  • Loading branch information
wullub authored Jan 22, 2024
2 parents 4f76db8 + d0b284d commit b8bf6d6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/environments/oasys/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ locals {
user_data_cloud_init = module.baseline_presets.ec2_instance.user_data_cloud_init.ssm_agent_ansible_no_tags
autoscaling_schedules = module.baseline_presets.ec2_autoscaling_schedules.working_hours
autoscaling_group = merge(module.baseline_presets.ec2_autoscaling_group.default, {
desired_capacity = 2
max_size = 2
desired_capacity = 1
max_size = 1
})
lb_target_groups = {}
secretsmanager_secrets = {}
Expand Down
14 changes: 14 additions & 0 deletions terraform/environments/oasys/locals_preproduction.tf
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,20 @@ locals {
oracle-sids = "PPBIPINF PPOASYS"
})
})

"pp-${local.application_name}-bip-a" = merge(local.bip_a, {
config = merge(local.bip_a.config, {
instance_profile_policies = concat(local.bip_a.config.instance_profile_policies, [
"Ec2PreprodBipPolicy",
])
})
tags = merge(local.bip_a.tags, {
bip-db-name = "PPBIPINF"
bip-db-hostname = "pp-oasys-db-a"
oasys-db-name = "PPOASYS"
oasys-db-hostname = "pp-oasys-db-a"
})
})
}

baseline_ec2_autoscaling_groups = {
Expand Down

0 comments on commit b8bf6d6

Please sign in to comment.