A similar configuration with rules already exists and overwriting will have │ unintended consequences. If you are migrating from the Dashboard, you will │ need to first import the existing rules using cf-terraforming. You can find │ details about how to do this at
What is the issue you’re encountering
I am trying to upgrade all the old firewall rules syntax to the new using cf_terrafroming to and apply some as a module as previously
There is an issue when applying a specific firewall rule to all zones via Terrafrom module. The old syntax, which is now commented out, used to work with the module, but the new syntax does not allow multiple Cloudflare_ruleset blocks—only an individual block with all the rules listed per that zone. Steps I took to debug:
If the old rule in Terraform is commented out and it’s ensured that it’s not in the UI, there should not be complaints about another rule.