ssl_certificate_id applies to lb_protocol only.

This commit is contained in:
Dave Dash 2016-03-29 14:13:54 -07:00
parent 7d1cfde490
commit de61132564
1 changed files with 2 additions and 3 deletions

View File

@ -33,7 +33,7 @@ resource "aws_elb" "bar" {
listener {
instance_port = 8000
instance_protocol = "https"
instance_protocol = "http"
lb_port = 443
lb_protocol = "https"
ssl_certificate_id = "arn:aws:iam::123456789012:server-certificate/certName"
@ -97,8 +97,7 @@ Listeners support the following:
* `lb_protocol` - (Required) The protocol to listen on. Valid values are `HTTP`,
`HTTPS`, `TCP`, or `SSL`
* `ssl_certificate_id` - (Optional) The id of an SSL certificate you have
uploaded to AWS IAM. **Only valid when `instance_protocol` and
`lb_protocol` are either HTTPS or SSL**
uploaded to AWS IAM. **Only valid when `lb_protocol` is either HTTPS or SSL**
Health Check supports the following: