Azure Blob Datastore Bootstrap
@webframp/azure-blob-datastore-bootstrapv2026.07.22.1
01README
One-shot bootstrap for @webframp/azure-blob-datastore. Creates an Azure Storage account with a blob container, then switches the current swamp repository to use Azure Blob Storage as the datastore backend.
Prerequisites
- Azure CLI (
az) authenticated (az login) - An Azure subscription
- Permissions to create resource groups, storage accounts, and containers
What it does
provisioncreates a resource group (if needed), a storage account (StorageV2, LRS, blob-only public access disabled), and a blob container, then retrieves the connection string.- A final
command/shellstep runsswamp datastore setup extension @webframp/azure-blob-datastore --config ...to flip the repo's datastore to Azure Blob.
Running
swamp extension pull @webframp/azure-blob-datastore-bootstrap
swamp model create @webframp/azure-blob-datastore-bootstrap/provisioner \
swamp-azure-blob-provisioner
swamp model create command/shell swamp-azure-blob-setup
swamp workflow run @webframp/bootstrap-azure-blob-datastore \
--input location=eastus
swamp datastore statusSee the bundled README for optional inputs and idempotency notes.
02Models
@webframp/azure-blob-datastore-bootstrap/provisionerv2026.07.22.1provisioner.ts
fn provision()
Create/verify an Azure Storage account and blob container for @webframp/azure-blob-datastore.
Resources
state(infinite)— Azure Storage account + blob container provisioned for swamp.
03Workflows
@webframp/bootstrap-azure-blob-datastorea2c4e6f8-1b3d-5a7c-9e0f-2d4b6a8c0e1f
Provision an Azure Storage account with a blob container for @webframp/azure-blob-datastore, then switch the current repo to use Azure Blob Storage.
infraCreate Azure Storage account and blob container.
1.provisionswamp-azure-blob-provisioner.provision— Run the provisioner model. Instance `swamp-azure-blob-provisioner`
must be pre-created with globalArguments wired to the workflow inputs.
configurePoint this repo's datastore at Azure Blob Storage.
1.run-setupswamp-azure-blob-setup.execute— Run `swamp datastore setup extension @webframp/azure-blob-datastore`.
04Stats
A
100 / 100
Downloads
0
Archive size
6.8 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
05Platforms
06Labels