cloudflare_ruleset causing crash #4560
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
triage/debug-log-attached
Indicates an issue or PR has a complete Terraform debug log.
triage/needs-information
Indicates an issue needs more information in order to work on it.
Confirmation
Terraform and Cloudflare provider version
Affected resource(s)
Terraform configuration files
Link to debug output
https://gist.github.com/arunesh90/63af12b26e8546d5f783fa24442ef7dc
Panic output
Expected output
One of our cache rules got recently manually changed on the dashboard while it's managed by the config above, so the expectation from this new plan would be to sync it back up or at least give some kind of error/warning about it - Instead it appears that something inside the ruleset code of the provider crashed.
The exact rule that got changed is the
Homepage cache
one from my config.On the dashboard we simply added another hostname, so it's now:
versus what's in the config:
Seems as if the ruleset code had issues handling that manual change and couldn't generate a change for that and proceeded to crash.
Actual output
Provider should've created a change for my ruleset that got manually edited, but instead it crashed.
Steps to reproduce
Homepage cache
one from my config, via TerraformAdditional factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: