it definitely has the edit permission

it definitely has the edit permission
13 Replies
Cyb3r-Jak3
Cyb3r-Jak32y ago
Did you limit it to specifc zones/accounts or it is for all zones/accounts
valkyrie_pilot
valkyrie_pilotOP2y ago
it's for all zones, for my account
valkyrie_pilot
valkyrie_pilotOP2y ago
valkyrie_pilot
valkyrie_pilotOP2y ago
so as far as i know this should work i think a decent part of the problem is that it's just not designed for a multizone system
Cyb3r-Jak3
Cyb3r-Jak32y ago
I used terraform for multiple zones just fine
valkyrie_pilot
valkyrie_pilotOP2y ago
hmmm all the tutorials seem to want a specific zone would it hurt that i changed the names of the items from "terraform_managed_(hexvalue)"? I assumed those were automatically generated yeah lots of
│ Error: expected DNS record to not already be present but already exists

│ with cloudflare_record.valk_sh_spf,
│ on valk.sh.tf line 232, in resource "cloudflare_record" "valk_sh_spf":
│ 232: resource "cloudflare_record" "valk_sh_spf" {

│ Error: expected DNS record to not already be present but already exists

│ with cloudflare_record.valk_sh_spf,
│ on valk.sh.tf line 232, in resource "cloudflare_record" "valk_sh_spf":
│ 232: resource "cloudflare_record" "valk_sh_spf" {

with terraform apply
Cyb3r-Jak3
Cyb3r-Jak32y ago
Did you import the records? Did you change them before or after you imported?
valkyrie_pilot
valkyrie_pilotOP2y ago
before... unfortunately, i take it this means i will have to change them back? so now i have tried both

│ Error: error deleting Cloudflare Record: This record is managed by Email Routing. Disable Email Routing to modify/remove this record. (1046)




│ Error: error deleting Cloudflare Record: Unable to edit this record. It was generated by Cloudflare and can be modified in your R2 configuration (1052)




│ Error: error deleting Cloudflare Record: This record is managed by Email Routing. Disable Email Routing to modify/remove this record. (1046)




│ Error: error deleting Cloudflare Record: Unable to edit this record. It was generated by Cloudflare and can be modified in your R2 configuration (1052)




│ Error: error deleting Cloudflare Record: This record is managed by Email Routing. Disable Email Routing to modify/remove this record. (1046)




│ Error: error deleting Cloudflare Record: This record is managed by Email Routing. Disable Email Routing to modify/remove this record. (1046)




│ Error: error deleting Cloudflare Record: This record is managed by Email Routing. Disable Email Routing to modify/remove this record. (1046)




│ Error: error deleting Cloudflare Record: This record is managed by Email Routing. Disable Email Routing to modify/remove this record. (1046)




│ Error: expected DNS record to not already be present but already exists

│ with cloudflare_record.randomairborne_dev_cdn,
│ on randomairborne.dev.tf line 37, in resource "cloudflare_record" "randomairborne_dev_cdn":
│ 37: resource "cloudflare_record" "randomairborne_dev_cdn" {



│ Error: failed to create DNS record: This zone is managed by Email Routing. Disable Email Routing to add/modify MX records. (890190)

│ with cloudflare_record.valk_lgbt_mx62,
│ on valk.lgbt.tf line 82, in resource "cloudflare_record" "valk_lgbt_mx62":
│ 82: resource "cloudflare_record" "valk_lgbt_mx62" {



│ Error: failed to create DNS record: This zone is managed by Email Routing. Disable Email Routing to add/modify MX records. (890190)

│ with cloudflare_record.valk_lgbt_mx30,
│ on valk.lgbt.tf line 92, in resource "cloudflare_record" "valk_lgbt_mx30":
│ 92: resource "cloudflare_record" "valk_lgbt_mx30" {



│ Error: failed to create DNS record: This zone is managed by Email Routing. Disable Email Routing to add/modify MX records. (890190)

│ with cloudflare_record.valk_lgbt_mx80,
│ on valk.lgbt.tf line 102, in resource "cloudflare_record" "valk_lgbt_mx80":
│ 102: resource "cloudflare_record" "valk_lgbt_mx80" {



│ Error: expected DNS record to not already be present but already exists

│ with cloudflare_record.valk_sh_cdn,
│ on valk.sh.tf line 75, in resource "cloudflare_record" "valk_sh_cdn":
│ 75: resource "cloudflare_record" "valk_sh_cdn" {



│ Error: failed to create DNS record: This zone is managed by Email Routing. Disable Email Routing to add/modify MX records. (890190)

│ with cloudflare_record.valk_sh_mx37,
│ on valk.sh.tf line 157, in resource "cloudflare_record" "valk_sh_mx37":
│ 157: resource "cloudflare_record" "valk_sh_mx37" {



│ Error: failed to create DNS record: This zone is managed by Email Routing. Disable Email Routing to add/modify MX records. (890190)

│ with cloudflare_record.valk_sh_mx97,
│ on valk.sh.tf line 167, in resource "cloudflare_record" "valk_sh_mx97":
│ 167: resource "cloudflare_record" "valk_sh_mx97" {



│ Error: failed to create DNS record: This zone is managed by Email Routing. Disable Email Routing to add/modify MX records. (890190)

│ with cloudflare_record.valk_sh_mx28,
│ on valk.sh.tf line 177, in resource "cloudflare_record" "valk_sh_mx28":
│ 177: resource "cloudflare_record" "valk_sh_mx28" {



│ Error: error deleting Cloudflare Record: This record is managed by Email Routing. Disable Email Routing to modify/remove this record. (1046)




│ Error: error deleting Cloudflare Record: Unable to edit this record. It was generated by Cloudflare and can be modified in your R2 configuration (1052)




│ Error: error deleting Cloudflare Record: This record is managed by Email Routing. Disable Email Routing to modify/remove this record. (1046)




│ Error: error deleting Cloudflare Record: Unable to edit this record. It was generated by Cloudflare and can be modified in your R2 configuration (1052)




│ Error: error deleting Cloudflare Record: This record is managed by Email Routing. Disable Email Routing to modify/remove this record. (1046)




│ Error: error deleting Cloudflare Record: This record is managed by Email Routing. Disable Email Routing to modify/remove this record. (1046)




│ Error: error deleting Cloudflare Record: This record is managed by Email Routing. Disable Email Routing to modify/remove this record. (1046)




│ Error: error deleting Cloudflare Record: This record is managed by Email Routing. Disable Email Routing to modify/remove this record. (1046)




│ Error: expected DNS record to not already be present but already exists

│ with cloudflare_record.randomairborne_dev_cdn,
│ on randomairborne.dev.tf line 37, in resource "cloudflare_record" "randomairborne_dev_cdn":
│ 37: resource "cloudflare_record" "randomairborne_dev_cdn" {



│ Error: failed to create DNS record: This zone is managed by Email Routing. Disable Email Routing to add/modify MX records. (890190)

│ with cloudflare_record.valk_lgbt_mx62,
│ on valk.lgbt.tf line 82, in resource "cloudflare_record" "valk_lgbt_mx62":
│ 82: resource "cloudflare_record" "valk_lgbt_mx62" {



│ Error: failed to create DNS record: This zone is managed by Email Routing. Disable Email Routing to add/modify MX records. (890190)

│ with cloudflare_record.valk_lgbt_mx30,
│ on valk.lgbt.tf line 92, in resource "cloudflare_record" "valk_lgbt_mx30":
│ 92: resource "cloudflare_record" "valk_lgbt_mx30" {



│ Error: failed to create DNS record: This zone is managed by Email Routing. Disable Email Routing to add/modify MX records. (890190)

│ with cloudflare_record.valk_lgbt_mx80,
│ on valk.lgbt.tf line 102, in resource "cloudflare_record" "valk_lgbt_mx80":
│ 102: resource "cloudflare_record" "valk_lgbt_mx80" {



│ Error: expected DNS record to not already be present but already exists

│ with cloudflare_record.valk_sh_cdn,
│ on valk.sh.tf line 75, in resource "cloudflare_record" "valk_sh_cdn":
│ 75: resource "cloudflare_record" "valk_sh_cdn" {



│ Error: failed to create DNS record: This zone is managed by Email Routing. Disable Email Routing to add/modify MX records. (890190)

│ with cloudflare_record.valk_sh_mx37,
│ on valk.sh.tf line 157, in resource "cloudflare_record" "valk_sh_mx37":
│ 157: resource "cloudflare_record" "valk_sh_mx37" {



│ Error: failed to create DNS record: This zone is managed by Email Routing. Disable Email Routing to add/modify MX records. (890190)

│ with cloudflare_record.valk_sh_mx97,
│ on valk.sh.tf line 167, in resource "cloudflare_record" "valk_sh_mx97":
│ 167: resource "cloudflare_record" "valk_sh_mx97" {



│ Error: failed to create DNS record: This zone is managed by Email Routing. Disable Email Routing to add/modify MX records. (890190)

│ with cloudflare_record.valk_sh_mx28,
│ on valk.sh.tf line 177, in resource "cloudflare_record" "valk_sh_mx28":
│ 177: resource "cloudflare_record" "valk_sh_mx28" {


well it mostly works now. However, I do get these errors which I am not sure how to deal with.
Cyb3r-Jak3
Cyb3r-Jak32y ago
Hmmm I haven’t played with MX from email routing. I wonder if there is a bug there
valkyrie_pilot
valkyrie_pilotOP2y ago
turns out you just need to configure email routing through terraform i have finally run in to a bug that i can't fix, because it's just "cloudflare doesn't support public r2 in terraform"
Cyb3r-Jak3
Cyb3r-Jak32y ago
You mean making buckets public via terraform or attaching custom domains
Cyb3r-Jak3
Cyb3r-Jak32y ago
GitHub
R2 custom domain · Issue #2537 · cloudflare/terraform-provider-clou...
Current Terraform and Cloudflare provider version terraform: v1.4.6 provider: 4.8.0 Description Currently it is not possible to configure public access to a R2 bucket via the terraform provider. Us...
valkyrie_pilot
valkyrie_pilotOP2y ago
i will
Want results from more Discord servers?
Add your server