Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tdrd 319 keycloak upgrade v25 #548

Merged
merged 8 commits into from
Dec 9, 2024
4 changes: 3 additions & 1 deletion root_keycloak.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ module "keycloak_ecs_security_group" {
vpc_id = module.shared_vpc.vpc_id
common_tags = local.common_tags
ingress_security_group_rules = [
{ port = 8080, security_group_id = module.keycloak_alb_security_group.security_group_id, description = "Allow the load balancer to access the task" }
{ port = 8080, security_group_id = module.keycloak_alb_security_group.security_group_id, description = "Allow the load balancer to access the task" },
{ port = 9000, security_group_id = module.keycloak_alb_security_group.security_group_id, description = "Allow the load balancer to access the task health endpoints" }
]
egress_cidr_rules = [{ port = 0, cidr_blocks = ["0.0.0.0/0"], description = "Allow outbound access on all ports", protocol = "-1" }]
}
Expand Down Expand Up @@ -146,6 +147,7 @@ module "keycloak_tdr_alb" {
alb_log_bucket = module.alb_logs_s3.s3_bucket_id
alb_security_group_id = module.keycloak_alb_security_group.security_group_id
alb_target_group_port = 8080
health_check_port = 9000
alb_target_type = "ip"
certificate_arn = module.keycloak_certificate.certificate_arn
health_check_matcher = "200,303"
Expand Down
4 changes: 4 additions & 0 deletions templates/ecs_tasks/keycloak.json.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@
{
"containerPort": 8080,
"hostPort": 8080
},
{
"containerPort": 9000,
"hostPort": 9000
}
]
}
Expand Down
Loading