From 2e4d9d62c02df20ec0c5bc1486c48d29ab51a7fd Mon Sep 17 00:00:00 2001 From: Brian Flad Date: Tue, 14 Nov 2017 03:23:09 -0500 Subject: [PATCH] r/aws_elb: Add listener ssl_certificate_id ARN validation --- aws/resource_aws_elb.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/aws/resource_aws_elb.go b/aws/resource_aws_elb.go index df821cbeefe..15a5d2eaebd 100644 --- a/aws/resource_aws_elb.go +++ b/aws/resource_aws_elb.go @@ -178,8 +178,9 @@ func resourceAwsElb() *schema.Resource { }, "ssl_certificate_id": &schema.Schema{ - Type: schema.TypeString, - Optional: true, + Type: schema.TypeString, + Optional: true, + ValidateFunc: validateArn, }, }, },