Skip to content

Commit

Permalink
CC-2147: Added Conc Tier Instance and SG
Browse files Browse the repository at this point in the history
  • Loading branch information
SahidKhan89 committed Oct 30, 2023
1 parent afe3783 commit a23c89c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ resource "aws_ebs_volume" "conc_home" {
availability_zone = "eu-west-2a"
size = local.application_data.accounts[local.environment].ebs_size_ebsconc_home
type = "io2"
iops = local.application_data.accounts[local.environment].ebs_default_iops
iops = 3000
encrypted = true
kms_key_id = data.aws_kms_key.ebs_shared.key_id
tags = merge(local.tags,
Expand All @@ -136,7 +136,7 @@ resource "aws_ebs_volume" "conc_stage" {
availability_zone = "eu-west-2a"
size = local.application_data.accounts[local.environment].ebs_size_ebsconc_stage
type = "io2"
iops = local.application_data.accounts[local.environment].ebs_default_iops
iops = 3000
encrypted = true
kms_key_id = data.aws_kms_key.ebs_shared.key_id
tags = merge(local.tags,
Expand All @@ -157,7 +157,7 @@ resource "aws_ebs_volume" "conc_temp" {
availability_zone = "eu-west-2a"
size = local.application_data.accounts[local.environment].ebs_size_ebsconc_temp
type = "io2"
iops = local.application_data.accounts[local.environment].ebs_default_iops
iops = 3000
encrypted = true
kms_key_id = data.aws_kms_key.ebs_shared.key_id
tags = merge(local.tags,
Expand Down
11 changes: 11 additions & 0 deletions terraform/environments/ccms-ebs-upgrade/r53.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,14 @@ resource "aws_route53_record" "ebsdb" {
ttl = 300
records = [aws_instance.ec2_oracle_ebs.private_ip]
}


## EBS Conc
resource "aws_route53_record" "ebsconc" {
provider = aws.core-vpc
zone_id = data.aws_route53_zone.external.zone_id
name = "ccms-ebs-conc-upgrade.${var.networking[0].business-unit}-${local.environment}.modernisation-platform.service.justice.gov.uk"
type = "A"
ttl = 300
records = [aws_instance.ec2_oracle_ebs.private_ip]
}

0 comments on commit a23c89c

Please sign in to comment.