Simple Terraform module to deploy a static site to Cloudflare Pages from a GitHub repository.
| Name | Version |
|---|---|
| cloudflare | 4.45.0 |
| Name | Version |
|---|---|
| cloudflare | 4.45.0 |
No modules.
| Name | Type |
|---|---|
| cloudflare_pages_project.this | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| build_command | Command to build the project | string |
n/a | yes |
| cloudflare_account_id | Cloudflare account ID | string |
n/a | yes |
| destination_dir | Directory where the build command outputs the files | string |
n/a | yes |
| github_owner | Owner of the GitHub repository | string |
n/a | yes |
| github_repo_name | Name of the GitHub repository | string |
n/a | yes |
| preview_environment_variables | Environment variables for the preview environment | map(string) |
n/a | yes |
| production_branch | Name of the production branch | string |
n/a | yes |
| production_environment_variables | Environment variables for the production environment | map(string) |
n/a | yes |
| project_name | Name of the project | string |
n/a | yes |
| root_dir | Root directory of the project | string |
n/a | yes |
No outputs.