cloudflare_load_balancer custom rules config drift not detected #4798
Labels
kind/bug
Categorizes issue or PR as related to a bug.
triage/needs-information
Indicates an issue needs more information in order to work on it.
Confirmation
Terraform and Cloudflare provider version
Terraform v1.5.7
on darwin_arm64
Affected resource(s)
cloudflare_load_balancer
Terraform configuration files
Link to debug output
NA
Panic output
NA
Expected output
Terraform plan should be detecting the config drift when the rules are deleted from the loadbalancer after getting created.
Actual output
No changes. Your infrastructure matches the configuration.
Steps to reproduce
Additional factoids
Custom rules in 4.48 is mentioned as beta but bringing this observation if this issue not being tracked
Custom rules were deleted from Cloudflare portal (GUI) after they got created through this terraform config. Later when the same config is used to run the plan, it is not detecting this config drift to show those rules to be created again.
Other observation is that, terraform will detect the drift if at least one rule exist but does not work when all of the existing once deleted which got created through config and exist in terraform state
References
No response
The text was updated successfully, but these errors were encountered: