Skip to content

Commit

Permalink
DSOS-2359: remove unused dbs (#4093)
Browse files Browse the repository at this point in the history
* Remove dev-nomis-db-1-a for now

* remove dev-oasys-db-a
  • Loading branch information
drobinson-moj authored Nov 21, 2023
1 parent b4c26f7 commit 7ebd867
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
38 changes: 19 additions & 19 deletions terraform/environments/nomis/locals_development.tf
Original file line number Diff line number Diff line change
Expand Up @@ -276,25 +276,25 @@ locals {
}

baseline_ec2_instances = {
dev-nomis-db-1-a = merge(local.database_ec2, {
config = merge(local.database_ec2.config, {
ami_name = "nomis_rhel_7_9_oracledb_11_2_release_2023-06-23T16-28-48.100Z"
availability_zone = "${local.region}a"
})
ebs_volumes = merge(local.database_ec2.ebs_volumes, {
"/dev/sdb" = { label = "app", size = 100 }
"/dev/sdc" = { label = "app", size = 100 }
})
ebs_volume_config = merge(local.database_ec2.ebs_volume_config, {
data = { total_size = 500 }
flash = { total_size = 50 }
})
tags = merge(local.database_ec2.tags, {
nomis-environment = "dev"
description = "temporary DB to test DB restore"
oracle-sids = ""
})
})
#dev-nomis-db-1-a = merge(local.database_ec2, {
# config = merge(local.database_ec2.config, {
# ami_name = "nomis_rhel_7_9_oracledb_11_2_release_2023-06-23T16-28-48.100Z"
# availability_zone = "${local.region}a"
# })
# ebs_volumes = merge(local.database_ec2.ebs_volumes, {
# "/dev/sdb" = { label = "app", size = 100 }
# "/dev/sdc" = { label = "app", size = 100 }
# })
# ebs_volume_config = merge(local.database_ec2.ebs_volume_config, {
# data = { total_size = 500 }
# flash = { total_size = 50 }
# })
# tags = merge(local.database_ec2.tags, {
# nomis-environment = "dev"
# description = "temporary DB to test DB restore"
# oracle-sids = ""
# })
#})
}

baseline_lbs = {
Expand Down
2 changes: 1 addition & 1 deletion terraform/environments/oasys/locals_development.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ locals {
baseline_s3_buckets = {}

baseline_ec2_instances = {
"dev-${local.application_name}-db-a" = local.database_a
# "dev-${local.application_name}-db-a" = local.database_a

}

Expand Down

0 comments on commit 7ebd867

Please sign in to comment.