A pack for interacting with the Cloudflare API.
Copy the example configuration in cloudflare.yaml.example
to /opt/stackstorm/configs/cloudflare.yaml
and edit as required.
cp /opt/stackstorm/packs/cloudflare/cloudflare.yaml.example /opt/stackstorm/configs/cloudflare.yaml
It should contain:
api_key
- Cloudflare API key, details hereapi_email
- Cloudflare API email address (username)
You can also use dynamic values from the datastore. See the docs for more info.
Note : When modifying the configuration in /opt/stackstorm/configs/
please
remember to tell StackStorm to load these new values by running
st2ctl reload --register-configs
Returns the current IPs for the Cloudflare service, does not require an API key.
Returns a list of the current DNS Zones in your Cloudflare account. Requires an API key.
Returns a list of the DNS Records in a given Zone. Requires an API key.