To get started, you need to bootstrap the Azure subscriptions to support InfraWeave.
This is in early preview.
Current status:
- InfraWeave Platform base (list+publish modules/stacks, list+create+destroy deployments etc)
- Reconciler - In progress
- Logging
- Gitops - Webhook support
- Identity access management review
Clone the azure-bootstrap which is designed to make it easy to get started.
It has the following structure:
.
├── examples/
| ├── modules/...
| └── claims/...
├── LICENSE
├── README.md
├── central.tf
├── locals.tf
└── project1-dev.tf
Before you bootstrap the control plane you need to configure it as you want.
Modify the file locals.tf.
Modify the file central.tf.
- Set up one central-module per region you want to support
- Configure a corresponding provider per region and name accordingly
In this example we have project1-dev to demonstrate how it can be set up, each project has its own .tf-file.
- Set up one workload-module per region you want to support
- Configure a corresponding provider per region and name accordingly
Ensure you have an active sso-sesion: az login.
Perform the bootstrapping by running
terraform init
terraform applyThis will bootstrap the entire platform in all desired Azure subscriptions.
Set up environment:
export INFRAWEAVE_ENV=dev
export REGION=westeurope
export PROVIDER=azureUse the latest version of CLI and publish a module (can only be done with access to central subscription):
export AZURE_SUBSCRIPTION_ID=00000000-0000-0000-0000-000000000000 # Central subscription id
infraweave publish module dev ./examples/modules/storagebucket/List available modules:
infraweave publish module list devDeploy a claim (can only be done in a workload subcsription):
export AZURE_SUBSCRIPTION_ID=11111111-1111-1111-111111111111 # Workload subscription id
infraweave apply playground ./examples/claims/claim_storagebucket.yaml