Skip to content

Commit

Permalink
delete test ALB
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsweetman committed Dec 13, 2023
1 parent e3ee658 commit 6a13f44
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 21 deletions.
35 changes: 15 additions & 20 deletions terraform/environments/planetfm/locals_development.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,25 @@ locals {
# baseline config
development_config = {

baseline_ec2_autoscaling_groups = {
# "dev-asg" = {
# baseline_lbs = {

# }
}
baseline_lbs = {
# private = {
# internal_lb = true
# enable_delete_protection = false
# loadbalancer_type = "application"
# idle_timeout = 3600
# security_groups = ["loadbalancer"]
# subnets = module.environment.subnets["private"].ids
# enable_cross_zone_load_balancing = true
# access_logs = true #default value
# log_schedule = "cron(0 * * * ? *)"

private = {
internal_lb = true
enable_delete_protection = false
loadbalancer_type = "application"
idle_timeout = 3600
security_groups = ["loadbalancer"]
subnets = module.environment.subnets["private"].ids
enable_cross_zone_load_balancing = true
access_logs = true #default value
log_schedule = "cron(0 * * * ? *)"
# instance_target_groups = {}

instance_target_groups = {}
# listeners = {}

listeners = {}

}
}
# }
# }
}
}

2 changes: 1 addition & 1 deletion terraform/modules/baseline/lb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ module "lb" {

for_each = var.lbs

source = "git::https://github.com/ministryofjustice/modernisation-platform-terraform-loadbalancer.git?ref=6749ab0591cd4c7ff8956ccfaf67e69cfd575cd9"
source = "git::https://github.com/ministryofjustice/modernisation-platform-terraform-loadbalancer.git?ref=191b438ff88b9fb9553e7ead80b84b21920b9f77"

providers = {
aws.bucket-replication = aws
Expand Down

0 comments on commit 6a13f44

Please sign in to comment.