[CLOUDFLARE PAGES] Import inskip.me into terraform

This commit is contained in:
Kat Inskip 2023-04-29 14:23:13 -07:00
parent 8b0bec9d83
commit 7cd1c47727
Signed by: kat
GPG key ID: 465E64DECEA8CF0F

View file

@ -0,0 +1,28 @@
resource "cloudflare_pages_project" "inskip_root" {
account_id = "0467b993b65d8fd4a53fe24ed2fbb2a1"
name = "inskip-root"
production_branch = "main"
source {
type = "github"
config {
owner = "kittywitch"
repo_name = "inskip.me"
production_branch = "main"
deployments_enabled = true
pr_comments_enabled = false
production_deployment_enabled = true
}
}
build_config {
build_command = "hugo"
destination_dir = "/public"
root_dir = "/"
}
}
resource "cloudflare_pages_domain" "inskip_root" {
account_id = "0467b993b65d8fd4a53fe24ed2fbb2a1"
project_name = "inskip-root"
domain = "inskip.me"
}