Optional fields cause crash in cloudflare_zero_trust_tunnel_cloudflared(s)
when left null
#5524
Open
3 tasks done
Confirmation
Terraform and Cloudflare provider version
Terraform v1.11.4
on darwin_arm64
Affected resource(s)
data.cloudflare_zero_trust_tunnel_cloudflared
data.cloudflare_zero_trust_tunnel_cloudflareds
(Probably more than these as it's seams it's related to RFC3339 parsing)
Terraform configuration files
Link to debug output
Not needed
Panic output
Expected output
Optional fields should be… well, optional. The resource should return all tunnels when no filters are applied, instead of crashing due to null values.
Actual output
Fails with an RFC3339 parsing error when optional fields are unset. This also means it’s currently impossible to fetch all tunnels without applying time filters. Even when both applied it doesn't work because both filters filter out results...
Steps to reproduce
Additional factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: