Skip to content

Commit

Permalink
update disk config
Browse files Browse the repository at this point in the history
  • Loading branch information
Seb Norris committed Apr 30, 2024
1 parent 3885455 commit af9bf90
Showing 1 changed file with 9 additions and 22 deletions.
31 changes: 9 additions & 22 deletions terraform/environments/delius-mis/locals_development.tf
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ locals {
instance_type = "t3.large"
ami_name_regex = "^delius_core_ol_8_5_oracle_db_19c_patch_2024-01-31T16-06-00.575Z"
ebs_volumes = {
"/dev/sdb" = { label = "app", size = 100 } # /u01
"/dev/sdb" = { label = "app", size = 200 } # /u01
"/dev/sdc" = { label = "app", size = 100 } # /u02
"/dev/sde" = { label = "data" } # DATA
"/dev/sdf" = { label = "flash" } # FLASH
Expand All @@ -217,13 +217,13 @@ locals {
iops = 3000
throughput = 125
type = "gp3"
total_size = 500
total_size = 100
}
flash = {
iops = 3000
throughput = 125
type = "gp3"
total_size = 500
total_size = 100
}
}
ansible_user_data_config = {
Expand All @@ -235,32 +235,19 @@ locals {
}

# use slightly different config for each database
dsd_db_config_dev = merge(local.base_db_config_dev, {
ebs_volumes = merge(local.base_db_config_dev.ebs_volumes, {
"/dev/sdb" = { label = "app", size = 200 },
"/dev/sdc" = { label = "app", size = 100 }
})
})
dsd_db_config_dev = local.base_db_config_dev

boe_db_config_dev = merge(local.base_db_config_dev, {
ebs_volumes = merge(local.base_db_config_dev.ebs_volumes, {
"/dev/sdb" = { label = "app", size = 200 },
"/dev/sdc" = { label = "app", size = 100 }
})
})
boe_db_config_dev = local.base_db_config_dev

mis_db_config_dev = merge(local.base_db_config_dev, {
ebs_volumes = merge(local.base_db_config_dev.ebs_volumes, {
"/dev/sdb" = { label = "app", size = 500 },
"/dev/sdc" = { label = "app", size = 500 }
}),
ebs_volume_config = merge(local.base_db_config_dev.ebs_volume_config, {
data = {
iops = 5000
throughput = 125
type = "gp3"
total_size = 500
}
},
flash = {
total_size = 500
}
})
})

Expand Down

0 comments on commit af9bf90

Please sign in to comment.