Skip to content

Commit

Permalink
Merge pull request #3257 from ministryofjustice/InstanceUpdate_310823
Browse files Browse the repository at this point in the history
InstanceUpdate_310823
  • Loading branch information
nbuckingham72 authored Aug 31, 2023
2 parents 0188113 + 630f799 commit 7e7ae09
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions terraform/environments/ppud/instances.tf
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ ebs_block_device {

# Test Web Server

resource "aws_instance" "TestWebServer1" {
resource "aws_instance" "TestWebServer3" {
count = local.is-development == true ? 1 : 0
ami = "ami-070c9a4ee0e5d83d5"
instance_type = "m5.large"
Expand All @@ -282,30 +282,13 @@ resource "aws_instance" "TestWebServer1" {
vpc_security_group_ids = [aws_security_group.PPUD-WEB-Portal.id]
subnet_id = data.aws_subnet.private_subnets_c.id

root_block_device {
volume_size = 100
volume_type = "gp3"
}

ebs_block_device {
device_name = "/dev/sdb"
volume_type = "gp3"
volume_size = 70
}

ebs_block_device {
device_name = "/dev/sdc"
volume_type = "gp3"
volume_size = 50
}

metadata_options {
http_tokens = "required"
http_endpoint = "enabled"
}

tags = {
Name = "TestWebServer1"
Name = "TestWebServer3"
patch_group = "dev_win_patch"
backup = false
}
Expand Down

0 comments on commit 7e7ae09

Please sign in to comment.