I have an app with a domain registered with AWS Route 53, have my static files hosted on an S3 bucket and want to use Cloudflare as CDN.
Cloudflare suggests changing four NS names from Route 53 with two given by Cloudflare. This can be done manually.
Since I am building an IAC tool, I want to use the Cloudflare API to automate this process. I want to query Cloudfare’s API and receive these records. Any suggestion of the endpoint?