Skip to content

Commit de61132

Browse files
committed
ssl_certificate_id applies to lb_protocol only.
1 parent 7d1cfde commit de61132

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

website/source/docs/providers/aws/r/elb.html.markdown

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ resource "aws_elb" "bar" {
3333
3434
listener {
3535
instance_port = 8000
36-
instance_protocol = "https"
36+
instance_protocol = "http"
3737
lb_port = 443
3838
lb_protocol = "https"
3939
ssl_certificate_id = "arn:aws:iam::123456789012:server-certificate/certName"
@@ -97,8 +97,7 @@ Listeners support the following:
9797
* `lb_protocol` - (Required) The protocol to listen on. Valid values are `HTTP`,
9898
`HTTPS`, `TCP`, or `SSL`
9999
* `ssl_certificate_id` - (Optional) The id of an SSL certificate you have
100-
uploaded to AWS IAM. **Only valid when `instance_protocol` and
101-
`lb_protocol` are either HTTPS or SSL**
100+
uploaded to AWS IAM. **Only valid when `lb_protocol` is either HTTPS or SSL**
102101

103102
Health Check supports the following:
104103

0 commit comments

Comments
 (0)