adding pulumi poc for website deployment
This commit is contained in:
27
infra/README.md
Normal file
27
infra/README.md
Normal 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
|
||||
```
|
||||
Reference in New Issue
Block a user