https://github.com/libre-devops/azure-devops-hardened-scale-set-agents
A repo which contains packer templates for building Azure DevOps scale set images. Also includes some terraform to setup and run.
https://github.com/libre-devops/azure-devops-hardened-scale-set-agents
Last synced: 14 days ago
JSON representation
A repo which contains packer templates for building Azure DevOps scale set images. Also includes some terraform to setup and run.
- Host: GitHub
- URL: https://github.com/libre-devops/azure-devops-hardened-scale-set-agents
- Owner: libre-devops
- License: mit
- Created: 2024-08-23T22:43:18.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-04-07T22:22:45.000Z (17 days ago)
- Last Synced: 2025-04-07T23:26:37.115Z (17 days ago)
- Language: PowerShell
- Size: 397 KB
- Stars: 2
- Watchers: 0
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# azdo-agent-scale-sets
A repository containing all you need to get setup for Azure DevOps Agents in Virtual Machine Scale SetsThis work is based heavily on the [Virtual Environments](https://github.com/actions/virtual-environments) work completed by Microsoft, but with the want to strip some of the items out of it.
Once the image and scale set have been created, complete the follow instructions - https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/scale-set-agents?view=azure-devops
## Gotchas
- Your scale set needs to be in the same region as your Azure DevOps instance for this to work
- Your service principal used to access the agents requires Owner (or maybe just contributor is enough)
- The Azure DevOps agents are installed automatically when you set up the pool
## RequirementsNo requirements.
## Providers
No providers.
## Modules
No modules.
## Resources
No resources.
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [client\_id](#input\_client\_id) | The client id, passed as a PKR\_VAR | `string` | `"PKR_VAR_client_id"` | no |
| [client\_secret](#input\_client\_secret) | The client\_secret, passed as a PKR\_VAR | `string` | `"PKR_VAR_client_secret"` | no |
| [dockerhub\_login](#input\_dockerhub\_login) | The docker hub login, passed as a PKR\_VAR | `string` | `"PKR_VAR_dockerhub_login"` | no |
| [dockerhub\_password](#input\_dockerhub\_password) | The docker hub password passed as a PKR\_VAR | `string` | `"PKR_VAR_dockerhub_password"` | no |
| [gallery\_name](#input\_gallery\_name) | The gallery name | `string` | `"galldoeuwdev01"` | no |
| [gallery\_rg\_name](#input\_gallery\_rg\_name) | The gallery resource group name | `string` | `"rg-ldo-euw-dev-build"` | no |
| [helper\_script\_folder](#input\_helper\_script\_folder) | Used in scripts | `string` | `"/imagegeneration/helpers"` | no |
| [image\_folder](#input\_image\_folder) | Used in scripts | `string` | `"/imagegeneration"` | no |
| [image\_os](#input\_image\_os) | Used in scripts | `string` | `"ubuntu22"` | no |
| [image\_version](#input\_image\_version) | Used in scripts | `string` | `"dev"` | no |
| [imagedata\_file](#input\_imagedata\_file) | Used in scripts | `string` | `"/imagegeneration/imagedata.json"` | no |
| [installer\_script\_folder](#input\_installer\_script\_folder) | Used in scripts | `string` | `"/imagegeneration/installers"` | no |
| [location](#input\_location) | Used in scripts | `string` | `"West Europe"` | no |
| [subscription\_id](#input\_subscription\_id) | The gallery resource group name, passed as a PKR\_VAR | `string` | `"PKR_VAR_subscription_id"` | no |
| [tenant\_id](#input\_tenant\_id) | The gallery resource group name, passed as a PKR\_VAR | `string` | `"PKR_VAR_tenant_id"` | no |## Outputs
No outputs.