Setting multiple certificates on an aws_lb_listener using terraform

Question:

Using terraform, is there a way using aws_lb_listener to set multiple certificate arn?

Practicallyit seems “certificate_arn” field is accepting only one certificate arn. Is there a trick to add multiple certificates arn?

Something like:

Answer:

Seems like this is possible now with https://www.terraform.io/docs/providers/aws/r/lb_listener_certificate.html

This resource is for additional certificates and does not replace the default certificate on the listener.

Leave a Reply