Skip to content

Commit

Permalink
Merge pull request #4095 from ministryofjustice/cafm/DSOS-2289/pp-cam…
Browse files Browse the repository at this point in the history
…f-w-3-a

new pp CAFM web server from ppfww0003 (using AMI created to build pp-camf-w-2-b)
  • Loading branch information
silvianahorga-al authored Nov 21, 2023
2 parents d76b2eb + ab779f7 commit b4c26f7
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions terraform/environments/planetfm/locals_preproduction.tf
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,26 @@ locals {
})
})

pp-cafm-w-3-a = merge(local.defaults_web_ec2, {
config = merge(local.defaults_web_ec2.config, {
ami_name = "pp-cafm-w-2-b"
availability_zone = "${local.region}a"
})
instance = merge(local.defaults_web_ec2.instance, {
instance_type = "t3.large"
})
ebs_volumes = {
"/dev/sda1" = { type = "gp3", size = 128 } # root volume
"/dev/sdb" = { type = "gp3", size = 100 }
}
cloudwatch_metric_alarms = {} # TODO: remove this later when @Dominic has added finished changing the alarms
tags = merge(local.defaults_web_ec2.tags, {
description = "Migrated server PPFWW0003 Web Access Server / RDS Gateway Server"
ami = "pp-cafm-w-2-b"
app-config-status = "pending"
})
})

pp-cafm-w-4-b = merge(local.defaults_web_ec2, {
config = merge(local.defaults_web_ec2.config, {
ami_name = "pp-cafm-w-4-b"
Expand Down

0 comments on commit b4c26f7

Please sign in to comment.