Skip to content

Cloudflare Pages

terraform {
  required_version = "1.4.2"

  required_providers {
    cloudflare = {
      source  = "cloudflare/cloudflare"
      version = "4.3.0"
    }
  }
}

access token permisions Account > Cloudflare Pages > Edit

set up account access to your git provider

for mkdocs-material https://www.starfallprojects.co.uk/projects/deploy-host-docs/deploy-mkdocs-material-cloudflare/#site-setup

docker run --rm -it --entrypoint pip -v ${PWD}:/docs squidfunk/mkdocs-material list --format=freeze --exclude pip --exclude=setuptools --exclude wheel --disable-pip-version-check > requirements.txt