diff --git a/terraform/environments/ccms-ebs/application_variables.json b/terraform/environments/ccms-ebs/application_variables.json index c792bce3466..65943c7f8ae 100644 --- a/terraform/environments/ccms-ebs/application_variables.json +++ b/terraform/environments/ccms-ebs/application_variables.json @@ -320,7 +320,7 @@ "ebs_iops_ebsdb_dbf01": 24000, "ebs_size_ebsdb_dbf01": 4000, "ebs_iops_ebsdb_dbf02": 24000, - "ebs_size_ebsdb_dbf02": 4000, + "ebs_size_ebsdb_dbf02": 5000, "ebs_iops_ebsdb_dbf03": 24000, "ebs_size_ebsdb_dbf03": 3000, "ebs_size_ebsdb_redoA": 100, diff --git a/terraform/environments/ccms-ebs/ccms-ec2-oracle_ebs_db.tf b/terraform/environments/ccms-ebs/ccms-ec2-oracle_ebs_db.tf index 3407776f45b..8ba602820ba 100644 --- a/terraform/environments/ccms-ebs/ccms-ec2-oracle_ebs_db.tf +++ b/terraform/environments/ccms-ebs/ccms-ec2-oracle_ebs_db.tf @@ -262,7 +262,6 @@ resource "aws_volume_attachment" "diag_att" { } resource "aws_ebs_volume" "dbf01" { - count = local.is-production ? 0 : 1 lifecycle { ignore_changes = [kms_key_id] } @@ -278,18 +277,15 @@ resource "aws_ebs_volume" "dbf01" { } resource "aws_volume_attachment" "dbf01_att" { - count = local.is-production ? 0 : 1 depends_on = [ aws_ebs_volume.dbf01 ] device_name = "/dev/sdq" - volume_id = aws_ebs_volume.dbf01[0].id + volume_id = aws_ebs_volume.dbf01.id instance_id = aws_instance.ec2_oracle_ebs.id } - resource "aws_ebs_volume" "dbf02" { - count = local.is-production ? 0 : 1 lifecycle { ignore_changes = [kms_key_id] } @@ -305,18 +301,15 @@ resource "aws_ebs_volume" "dbf02" { } resource "aws_volume_attachment" "dbf02_att" { - count = local.is-production ? 0 : 1 depends_on = [ aws_ebs_volume.dbf02 ] device_name = "/dev/sdr" - volume_id = aws_ebs_volume.dbf02[0].id + volume_id = aws_ebs_volume.dbf02.id instance_id = aws_instance.ec2_oracle_ebs.id } - resource "aws_ebs_volume" "dbf03" { - count = local.is-production ? 0 : 1 lifecycle { ignore_changes = [kms_key_id] } @@ -332,12 +325,11 @@ resource "aws_ebs_volume" "dbf03" { } resource "aws_volume_attachment" "dbf03_att" { - count = local.is-production ? 0 : 1 depends_on = [ aws_ebs_volume.dbf03 ] device_name = "/dev/sds" - volume_id = aws_ebs_volume.dbf03[0].id + volume_id = aws_ebs_volume.dbf03.id instance_id = aws_instance.ec2_oracle_ebs.id }