aws_lb_listener_certificate
Provides a Load Balancer Listener Certificate resource.
This resource is for additional certificates and does not replace the default certificate on the listener.
Note:
aws_alb_listener_certificate
is known asaws_lb_listener_certificate
. The functionality is identical.
Example Usage
resource "aws_acm_certificate" "example" { # ... } resource "aws_lb" "front_end" { # ... } resource "aws_lb_listener" "front_end" { # ... } resource "aws_lb_listener_certificate" "example" { listener_arn = "${aws_lb_listener.front_end.arn}" certificate_arn = "${aws_acm_certificate.example.arn}" }
Argument Reference
The following arguments are supported:
-
listener_arn
- (Required, Forces New Resource) The ARN of the listener to which to attach the certificate. -
certificate_arn
- (Required, Forces New Resource) The ARN of the certificate to attach to the listener.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/r/lb_listener_certificate.html