Files
fctc-website-under-construc…/infra/README.md
2026-09-07 16:40:09 -04:00

27 lines
755 B
Markdown

## 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
```