Skip to content

Commit

Permalink
Merge pull request #4113 from ministryofjustice/rebuild-pp-cafm-w-5-a
Browse files Browse the repository at this point in the history
destroying web server 5
  • Loading branch information
haitchison authored Nov 22, 2023
2 parents f5a11f4 + bd0db41 commit a5f187c
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions terraform/environments/planetfm/locals_preproduction.tf
Original file line number Diff line number Diff line change
Expand Up @@ -133,25 +133,25 @@ locals {
})
})

pp-cafm-w-5-a = merge(local.defaults_web_ec2, {
config = merge(local.defaults_web_ec2.config, {
ami_name = "pp-cafm-w-5-a"
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 PPFWW0005 Web Portal Server"
ami = "pp-cafm-w-5-a"
app-config-status = "pending"
})
})
# pp-cafm-w-5-a = merge(local.defaults_web_ec2, {
# config = merge(local.defaults_web_ec2.config, {
# ami_name = "pp-cafm-w-5-a"
# 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 PPFWW0005 Web Portal Server"
# ami = "pp-cafm-w-5-a"
# app-config-status = "pending"
# })
# })
}
}
}

0 comments on commit a5f187c

Please sign in to comment.