Skip to content

Latest commit

 

History

History
59 lines (44 loc) · 3.73 KB

File metadata and controls

59 lines (44 loc) · 3.73 KB

Azure Pipelines Agent

This is the setup for Azure Pipelines Agent Virtual Machine Scale Set (VMSS).

Azure DevOps Configuration

Follow this guide to setup the agent pool (manually): https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/scale-set-agents?view=azure-devops#create-the-scale-set-agent-pool

Requirements

Name Version
terraform >= 1.3.0
azurerm 4.7.0
tls 4.0.4

Providers

Name Version
azurerm 4.7.0
tls 4.0.4

Modules

No modules.

Resources

Name Type
azurerm_key_vault_secret.this resource
azurerm_linux_virtual_machine_scale_set.this resource
tls_private_key.this resource
azurerm_key_vault.this data source
azurerm_resource_group.this data source

Inputs

Name Description Type Default Required
environment The environment name to use for the deploy string n/a yes
keyvault_name The keyvault name string "" no
keyvault_resource_group_name The keyvault resource group name string "" no
location_short The Azure region short name string n/a yes
name The commonName to use for the deploy string n/a yes
resource_group_name The resource group name string "" no
source_image_id The Azure Pipelines agent image id string n/a yes
unique_suffix Unique suffix that is used in globally unique resources names string "" no
vmss_admin_username The admin username string "azpagent" no
vmss_disk_size_gb The disk size (in GB) for the VMSS instances number 128 no
vmss_instances The number of instances number 1 no
vmss_sku The SKU for VMSS instances string "Standard_F4s_v2" no
vmss_subnet_id The subnet id for the VMSS instances string n/a yes
vmss_zones The zones to place the VMSS instances list(string)
[
"1",
"2",
"3"
]
no

Outputs

No outputs.