From 1a39e9e14cbdd9549a926d5d01a17d0f3b345485 Mon Sep 17 00:00:00 2001 From: Puneeth Nanjundaswamy Date: Tue, 10 Apr 2018 20:59:30 +0200 Subject: [PATCH] fix terraform crash in kinesis firehose --- aws/resource_aws_kinesis_firehose_delivery_stream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/resource_aws_kinesis_firehose_delivery_stream.go b/aws/resource_aws_kinesis_firehose_delivery_stream.go index 90dbd80f3ec..c32bdba849a 100644 --- a/aws/resource_aws_kinesis_firehose_delivery_stream.go +++ b/aws/resource_aws_kinesis_firehose_delivery_stream.go @@ -176,7 +176,7 @@ func cloudwatchLoggingOptionsHash(v interface{}) int { func flattenCloudwatchLoggingOptions(clo *firehose.CloudWatchLoggingOptions) *schema.Set { if clo == nil { - return nil + return schema.NewSet(cloudwatchLoggingOptionsHash, []interface{}{}) } cloudwatchLoggingOptions := map[string]interface{}{