Skip to content

Commit

Permalink
Merge pull request #4148 from comtravo/chore/fix-firehose-terraform-c…
Browse files Browse the repository at this point in the history
…rash

Fixes Terraform crash for AWS Kinesis Firehose
  • Loading branch information
bflad authored Apr 10, 2018
2 parents bc219bd + 1a39e9e commit bc7a3cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/resource_aws_kinesis_firehose_delivery_stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}{
Expand Down

0 comments on commit bc7a3cb

Please sign in to comment.