adding pulumi poc for website deployment

This commit is contained in:
David Brinovec
2026-09-07 16:40:09 -04:00
parent 2844134064
commit 94dd775061
12 changed files with 827 additions and 0 deletions

27
infra/README.md Normal file
View File

@@ -0,0 +1,27 @@
## fctc-website-under-construction pulumi-worker
This deploys the fctc under construction page into a Cloudflare worker using Pulumi.
### Bootstrap
Ran this from <repo-root>/infra/
```bash
uv init --no-readme --no-workspace
uv add pulumi pulumi-cloudflare
uv lock
pulumi logout # this is here incase you were already logged into some pulumi backend
pulumi login --local # this keeps Pulumi's state in a local file. see ./notes/STATE.md
export PULUMI_CONFIG_PASSPHRASE=""
pulumi stack init dev # setting the passphrase to an empty string for now. see ./notes/PASSPHRASE.md
pulumi config set cloudflare:apiToken --secret # see ./notes/CLOUDFLARE.md
pulumi config set accountId # see ./notes/CLOUDFLARE.md
```
### Brind it up
```
pulumi up
```