Skip to content

Commit

Permalink
wipe out t2-onr-bods-1 and build the drive instead
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsweetman committed Dec 2, 2024
1 parent 8ea00f3 commit 26bdb17
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions terraform/environments/oasys-national-reporting/locals_test.tf
Original file line number Diff line number Diff line change
Expand Up @@ -151,22 +151,23 @@ locals {

ec2_instances = {

t2-onr-bods-1 = merge(local.ec2_instances.bods, {
config = merge(local.ec2_instances.bods.config, {
availability_zone = "eu-west-2a"
instance_profile_policies = concat(local.ec2_instances.bods.config.instance_profile_policies, [
"Ec2SecretPolicy",
])
})
instance = merge(local.ec2_instances.bods.instance, {
instance_type = "m4.xlarge"
})
cloudwatch_metric_alarms = null
tags = merge(local.ec2_instances.bods.tags, {
oasys-national-reporting-environment = "t2"
domain-name = "azure.noms.root"
})
})
# t2-onr-bods-1 = merge(local.ec2_instances.bods, {
# config = merge(local.ec2_instances.bods.config, {
# # ami_name = ""
# availability_zone = "eu-west-2a"
# instance_profile_policies = concat(local.ec2_instances.bods.config.instance_profile_policies, [
# "Ec2SecretPolicy",
# ])
# })
# instance = merge(local.ec2_instances.bods.instance, {
# instance_type = "m4.xlarge"
# })
# cloudwatch_metric_alarms = null
# tags = merge(local.ec2_instances.bods.tags, {
# oasys-national-reporting-environment = "t2"
# domain-name = "azure.noms.root"
# })
# })

# t2-onr-bods-2 = merge(local.ec2_instances.bods, {
# config = merge(local.ec2_instances.bods.config, {
Expand Down

0 comments on commit 26bdb17

Please sign in to comment.