adding pulumi poc for website deployment
This commit is contained in:
11
infra/notes/STATE.md
Normal file
11
infra/notes/STATE.md
Normal file
@@ -0,0 +1,11 @@
|
||||
## Migrating from a local state file to a Cloudflare bucket
|
||||
|
||||
### while still on the local backend
|
||||
pulumi stack export --file pulumi_state.json
|
||||
|
||||
### switch backends
|
||||
pulumi login s3://<bucket>?endpoint=<account-id>.r2.cloudflarestorage.com®ion=auto
|
||||
|
||||
### recreate the stack on the new backend and import the state
|
||||
pulumi stack init dev
|
||||
pulumi stack import --file pulumi_state.json
|
||||
Reference in New Issue
Block a user