Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- resource "aws_alb_listener" "prodapp-https" {
- count = "1"
- port = 443
- protocol = "HTTPS"
- certificate_arn = "fad"
- load_balancer_arn = "aadasd"
- default_action = {
- target_group_arn = "asd"
- type = "forward"
- }
- }
- # admin.choicefoodservices.com
- resource "aws_alb_listener_rule" "host_based_routing" {
- listener_arn = "${aws_alb_listener.prodapp-https.arn}"
- priority = 99
- action {
- type = "forward"
- target_group_arn = "aasdada"
- }
- condition {
- field = "host-header"
- values = ["admin.choicefoodservices.com"]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement