Working with this repository requires installation of several command line tools, please use the dev-setup repo and apply the playbook with following tags:
- sops
- terraform
- yubikey (optional)
When developing locally, you need to create a Cloudflare API key and pass it using the TF_VAR_cloudflare_api_key
variable.
When developing locally, use the command below to sign into Azure AD Homecentr Lab tenant:
az login --tenant 36f0d3ea-3ee5-40f5-849b-8c3630c9637b --allow-no-subscriptions
- Create an Azure Ad tenant
- Create an app registration
- Name: GitHub-Deployment
- Type: Web
- Create a secret
- Assign the application the
- Assign the application the
Application Administrator
Administrative role - Use the data from above to create a GitHub secret with following structure (put it on one line):
{
"client_id": "<tba>",
"client_secret": "<tba>",
"tenant_id": "<tba>"
}
Users are created manually, follow the guide in the e2e repository.