cloudposse / terraform-cloudflare-zone

Terraform module to provision a CloudFlare zone with DNS records, Argo, Firewall filters and rules
https://cloudposse.com/accelerate
Apache License 2.0
27 stars 19 forks source link

The input `records` should default to an empty list instead of `null` #14

Closed nitrocode closed 2 years ago

nitrocode commented 2 years ago

Found a bug? Maybe our Slack Community can help.

Slack Community

Describe the Bug

The input records should default to an empty list instead of null. Currently when planning without passing in records, it will fail when trying to run length(var.records) within the module

Expected Behavior

Allow planning without overriding the records input