Skip to content

Terraform module for terraform-cloudflare-pages-github

License

Notifications You must be signed in to change notification settings

lazzurs/terraform-cloudflare-pages-github

Repository files navigation

terraform-cloudflare-pages-github

Simple Terraform module to deploy a static site to Cloudflare Pages from a GitHub repository.

Requirements

Name Version
cloudflare 4.45.0

Providers

Name Version
cloudflare 4.45.0

Modules

No modules.

Resources

Name Type
cloudflare_pages_project.this resource

Inputs

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

Outputs

No outputs.

About

Terraform module for terraform-cloudflare-pages-github

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages