Difference between revisions of "Terraform resource: aws lb listener"
Jump to navigation
Jump to search
Line 46: | Line 46: | ||
* <code>[[IncompatibleProtocols]]</code> | * <code>[[IncompatibleProtocols]]</code> | ||
* [[DNS name]] | * [[DNS name]] | ||
+ | * [[UnsupportedCertificate]] | ||
== See also == | == See also == |
Revision as of 09:06, 20 April 2023
- Terraform resource:
aws_lb_listener
protocol
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_listener#protocol
Contents
Examples
resource "aws_lb_listener" "front_end" { load_balancer_arn = aws_lb.front_end.arn port = "80" protocol = "HTTP" default_action { type = "redirect" redirect { port = "443" protocol = "HTTPS" status_code = "HTTP_301" } } }
Arguments
Required:
Optional:
aws_lb_listener: default_action
certificate_arn
target_group_arn
stickiness
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_listener#stickinessprotocol
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_listener#protocol
- action block:
forward, redirect, fixed-response, authenticate-cognito and authenticate-oidc
. https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_listener_rule#action-blocks
Related terms
- Error: Unsupported argument
aws elb create-load-balancer-listeners
IncompatibleProtocols
- DNS name
- UnsupportedCertificate
See also
aws_lb_listener
:certificate_arn, ssl_policy, Error: creating ELBv2 Listener, Pending validation
- Terraform LB:
aws_lb
:aws_lb_listener
,aws_lb_listener_certificate
,aws_lb_listener_rule
,aws_lb_target_group
,aws_lb_target_group_attachment
,load_balancer_type
,aws lb listener: default action
,aws load balancer policy
- Terraform AWS resources: IAM, Net, EC2, ECS, ECR, S3, Route53, ACM, CloudWatch, CloudFront SES, RDS, DLM
Advertising: