Skip to content

Commit

Permalink
Merge pull request #57 from uktrade/fix/superset
Browse files Browse the repository at this point in the history
fix: make recent Superset deployable
  • Loading branch information
michalc authored Feb 29, 2024
2 parents eb86e04 + 5d19ae8 commit dc6259e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
3 changes: 2 additions & 1 deletion infra/ecs_main_superset.tf
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ resource "aws_lb_target_group" "superset_8000" {

health_check {
protocol = "HTTP"
interval = 10
timeout = 15
interval = 20
healthy_threshold = 2
unhealthy_threshold = 5

Expand Down
12 changes: 12 additions & 0 deletions infra/security_groups.tf
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,18 @@ resource "aws_security_group_rule" "sentryproxy_ingress_http_notebooks" {
protocol = "tcp"
}

resource "aws_security_group_rule" "sentryproxy_ingress_http_superset" {
description = "ingress-http-superset"

security_group_id = aws_security_group.sentryproxy_service.id
source_security_group_id = aws_security_group.superset_service.id

type = "ingress"
from_port = "443"
to_port = "443"
protocol = "tcp"
}

resource "aws_security_group" "admin_alb" {
name = "${var.prefix}-admin-alb"
description = "${var.prefix}-admin-alb"
Expand Down

0 comments on commit dc6259e

Please sign in to comment.