Skip to content

Commit

Permalink
add rds asg
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsweetman committed Jan 28, 2025
1 parent 9dcd365 commit 86d8171
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions terraform/environments/hmpps-domain-services/locals_test.tf
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,19 @@ locals {
# domain-name = "azure.noms.root"
# })
# }
# test-rds-2-a = merge(local.ec2_autoscaling_groups.rds, {
# tags = merge(local.ec2_autoscaling_groups.rds.tags, {
# domain-name = "azure.noms.root"
# })
# }
test-rds-2-a = merge(local.ec2_autoscaling_groups.rds, {
config = merge(local.ec2_autoscaling_groups.rds.config, {
availability_zone = "eu-west-2a"
user_data_raw = base64encode(templatefile(
"../../modules/baseline_presets/ec2-user-data/user-data-pwsh.yaml.tftpl", {
branch = "TM/TM-916/add-rds-role-to-jumpservers"
}
))
})
tags = merge(local.ec2_autoscaling_groups.rds.tags, {
domain-name = "azure.noms.root"
})
})
}

ec2_instances = {
Expand Down

0 comments on commit 86d8171

Please sign in to comment.