Examples for using the CacheFly Terraform provider to manage your CDN infrastructure.
New to CacheFly? Start here: quickstart/
This minimal example gets you up and running in under 5 minutes with a basic CDN service.
- quickstart/ - Basic CDN service setup (5 minutes)
- CacheFly Account with API access
- API Token from your CacheFly dashboard
- Terraform >= 1.0 installed
export CACHEFLY_API_TOKEN="your-api-token-here"terraform {
required_providers {
cachefly = {
source = "cachefly/cachefly"
}
}
}
provider "cachefly" {
# Uses CACHEFLY_API_TOKEN environment variable
}