-
-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
We have 3 pro, and about 20 free zones in cloudflare.
Now, when updating via octodns-cloudflare, updating any free with plan_type: pro will fail, and also updating any pro zone with plan_type: free will fail the same way (Authentication error)
What I ended up using is basically
processors:
cloudflare-pro:
class: octodns.processor.filter.NameAllowlistFilter
allowlist:
- prodomain1.tld
- prodomain2.tld
- prodomain2.tld
cloudflare-free:
class: octodns.processor.filter.NameRejectlistFilter
rejectlist:
- prodomain1.tld
- prodomain2.tld
- prodomain3.tld
zones:
'*cloudflare-pro':
lenient: true
glob: '*'
sources:
- config_cloudflare
processors:
- cloudflare-pro
targets:
- cloudflare_pro
'*cloudflare-free':
glob: '*'
lenient: true
sources:
- config_cloudflare
processors:
- cloudflare-free
targets:
- cloudflare_freeThis seems cumbersome, and I ask myself if there is a better workarround for that? I assume using a scoped token for each (free/pro) could be the other way to go about it.
Anything else that coud be adviced?
Metadata
Metadata
Assignees
Labels
No labels