No need to complicate things at the front-end level for those who are not programmers, coders, etc. All that is being asked is for CF to integrate the enhancements with simple buttons (export, import, and print). At the back-end level, we’ll let the CF gurus do their magic.
Fair enough. It’s a good request and I’ve passed it along to the product team. I have a habit of trying to solve the problem ‘right now’ which isn’t always the most useful response.
I had a similar desire, so I wrote some PHP code that exports the “all settings” api endpoint and also lists out the firewall rules. If anyone wants to use it and doesn’t use Drupal, the main pieces are in the file chotchkie.drush.inc
Getting bind files or DNS records are easy from Cloudflare, the APi is easy. Page rules aren’t close to easy… I would love to see a good example of using the API to export all of the page rules and then importing them back into another zone.
I don’t think it’s a question of not providing this functionality, rather there’s a (very long) list of things we can build and it’s prioritized based on a lot of different criteria across individual teams and the company as a whole. And having looked at the scope/effort/value of the particular feature it hasn’t yet made it to the bar where the work has been prioritized.
For perspective at the moment we’ve had Cloudflare registrar live for over a year and still don’t have the ability for a customer to buy a net new domain through Cloudflare. Obviously a feature that provides value, but in the list of things which need to be done for registrar, as prioritized by the folks trusted to make decisions on what needs to be done next, it hasn’t yet hit that bar.
Today we have an import function for BIND files which is, all things considered, a pretty simple function, but I can tell you I’ve spent hours in total debugging why a particular BIND file won’t parse. Import logic, file formatting, error handling, long term maintenance as new features are added has a very real cost associated with it far beyond just adding a button.
I don’t have any particular insight into this feature’s prioritization (I’m not a developer or on the product team but I’ve been helping to build SaaS solutions for ~= 20 years so just speaking to the situation generally). For the moment Terraform integration is the best solution we have and the one we’ve prioritized spending resources on.
cf-terraforming continues to be where we invest in exporting current config and Terraform generally for modification of items. Beyond that there’s an API and libraries in Go, Python, etc one can write their own tools.