File tree Expand file tree Collapse file tree
github/azure-self-hosted-runners Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,19 +22,15 @@ The application is deployed as an [ACI](https://azure.microsoft.com/en-us/produc
2222
2323### Deployment
2424
25- Github tokens (see above) need to be passed to Garm via tf variables, either by creating a ` tf/terraform.tfvars ` or specifying it on the cli:
25+ Github tokens (see above) are passed to Garm via Azure Key Vault secrets. So first you should put the tokens as secrets in
26+ a Key Vault. The Key Vault id is then passed to terraform either by creating a ` tf/terraform.tfvars ` or specifying it on the cli:
2627
2728``` hcl
28- github_tokens = [
29- {
30- name = "some name"
31- token = "abc123"
32- },
33- ]
29+ github_token_key_vault_id = "the vault id"
3430```
3531
3632``` bash
37- terraform apply -var=' github_tokens=[{"name":"some name","token":"abc123"}] '
33+ terraform apply -var=' github_token_key_vault_id="the vault id" '
3834```
3935
4036## Configuration
You can’t perform that action at this time.
0 commit comments