Deploying Cloudflare Pages site using Terraform
Good morning all. Apologies if I am using the wrong section for this question. New user only joined moments ago.
Im trying to build a pages site using terraform. My code creates the pages project and settings, however it does not trigger a deployment. I was curious if anyone had this issue previously or have I just missed a config setting? Appreciate any advice please..I must have missed something in the docs.. If it helps this is my code:
4 Replies
This is what Im greeted with on my cloudflare page after a successful terraform apply
Ah I think Ive figured it out - will update once fully understood - apologies for the noise
Solved it - for anyone else new to this - dont forget to create your github workflow for deploying 😛 This is what I ended up with as my github action workflow
Do you want to deploy with direct upload or use the pages build in CI? When you create a project with terraform, it was start building on the next commit