Skip to content

Commit

Permalink
include cert ref on listener
Browse files Browse the repository at this point in the history
  • Loading branch information
jlauritsen committed Jan 26, 2024
1 parent 1a0412d commit c2a0bc5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,8 @@ Resources:
LoadBalancerArn: !Ref LoadBalancer
Port: !Ref WorkspacesHttpPort
Protocol: HTTPS
Certificates:
- CertificateArn: !Ref ACMCertificate

JupyterHTTPListener:
Type: AWS::ElasticLoadBalancingV2::Listener
Expand All @@ -629,16 +631,20 @@ Resources:
LoadBalancerArn: !Ref LoadBalancer
Port: !Ref JupyterHttpPort
Protocol: HTTPS
Certificates:
- CertificateArn: !Ref ACMCertificate

GRPCListener:
Type: AWS::ElasticLoadBalancingV2::Listener
Properties:
DefaultActions:
- Type: forward
TargetGroupArn: WorkspacesGRPCTargetGroup
TargetGroupArn: !Ref WorkspacesGRPCTargetGroup
LoadBalancerArn: !Ref LoadBalancer
Port: !Ref WorkspacesGrpcPort
Protocol: HTTPS
Certificates:
- CertificateArn: !Ref ACMCertificate

WorkspacesHTTPTargetGroup:
Type: AWS::ElasticLoadBalancingV2::TargetGroup
Expand Down
2 changes: 2 additions & 0 deletions deployments/aws/templates/jupyter/jupyter-with-alb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,8 @@ Resources:
LoadBalancerArn: !Ref LoadBalancer
Port: !Ref JupyterHttpPort
Protocol: HTTPS
Certificates:
- CertificateArn: !Ref ACMCertificate

JupyterHTTPTargetGroup:
Type: AWS::ElasticLoadBalancingV2::TargetGroup
Expand Down

0 comments on commit c2a0bc5

Please sign in to comment.