`override_existing_dns_record` flag ignored in `wrangler deploy`
I'm migrating a Cloudflare Pages project to Workers. In my new
When I run
However:
* Wrangler doesn’t expose any way to set
* The code in
* I cloned the repo and hardcoded
It seems like the flag has no effect at all, and there's currently no way to override existing DNS records during deploy, even though the error message suggests it's possible.
I've also opened this issue yesterday.
wrangler.jsonc config, I've declared the same domains that were previously used (and are still managed) by the old Pages app.When I run
wrangler deploy, it fails with:However:
* Wrangler doesn’t expose any way to set
override_existing_dns_record via the CLI or config.* The code in
publishCustomDomains suggests an interactive prompt should appear in case of DNS conflicts, but I don’t get one.* I cloned the repo and hardcoded
override_existing_dns_record: true, but the deploy still fails with the same error.It seems like the flag has no effect at all, and there's currently no way to override existing DNS records during deploy, even though the error message suggests it's possible.
I've also opened this issue yesterday.
