Configures an AWS Load Balancer with a trust store for mutual authentication and sets up a listener.

Terraform Template

resource "aws_lb_listener" "example" {

  default_action {
    target_group_arn = "aws_lb_target_group.example.id"
    type = "forward"
  }
  load_balancer_arn = "aws_lb.example.id"
}

resource "aws_lb_trust_store" "test" {
  ca_certificates_bundle_s3_bucket = "..."
  ca_certificates_bundle_s3_key = "..."
  name = "tf-example-lb-ts"
}