aci-devops-agent

Azure/aci-devops-agent/azurerm

Terraform Module HCL AZURERM

Terraform Module to deploy a Azure DevOps self-hosted agents on Azure Container Instance

Install
module "aci-devops-agent" {
source = "Azure/aci-devops-agent/azurerm"
version = "0.9.4"
}
⭐ Source on GitHub 📦 Registry page
README

terraform-azurerm-aci-devops-agent This repository contains a Terraform module that helps you to deploy Azure DevOps self-hosted agents running on Azure Container Instance. You can choose to deploy Linux or Windows agents, provide custom Docker images for the agents to include the tools you really need. It also give you the option to deploy the agents into a private virtual network, if the agents needs to access internal resources. How-to use this module to deploy Azure DevOps agents Build the Docker images This module requires that you build your own Linux and/or Windows Docker images, to run the Azure DevOps agents. The docker contains Dockerfile and instructions for both. Create an Azure DevOps agent pool and personal access token Before running this module, you need to create an agent

Inputs (13)
NameTypeDescriptionDefault
locationstringThe Azure location to use for deployment required
azure_devops_org_namestringThe name of the Azure DevOps organization in which the containerized agents will required
azure_devops_personal_access_tokenstringThe personal access token to use to connect to Azure DevOps (see https://docs.mi required
resource_group_namestringThe name of the resource group in which the containerized agents will be deploye required
enable_vnet_integrationbool(Optional) A flag that indicates if the containerized agents must be deployed infalse
vnet_namestring(Optional) The name of the virtual network in which the containerized agents wil""
linux_agents_configurationobject({ count (Optional) The configuration of the Linux agents to deploy{ "agent_name_prefix": "", "agent_po
windows_agents_configurationobject({ count (Optional) The configuration of the Windows agents to deploy{ "agent_name_prefix": "", "agent_po
image_registry_credentialobject({ username = string(Optional) The credentials to use to connect to the Docker private registry wher{ "password": "", "server": "", "u
create_resource_groupbool(Optional) A flag that indicates if the resource group in which the agents will true
subnet_namestring(Optional) The name of the subnet of the vnet in which the containerized agents ""
dns_configobject({ nameservers = (Optional) The DNS config information for a container group.null
vnet_resource_group_namestring(Optional) The name of the resource group that contains the virtual network in w""
Outputs (8)
linux_agents_names — An array that contains the names of Linux agents that have been deployed with the current configurat
vnet_integration_enabled — A flag that indicates if the vnet integration has been enabled with the current configuration.
subnet_id — If the vnet integration is enabled, the id of the subnet in which the agents are deployed.
has_windows_agents — A flag that indicates if Windows agents have been deployed with the current configuration.
windows_agents_count — A number that indicates the number of Windows agents that have been deployed with the current config
windows_agents_names — An array that contains the names of Windows agents that have been deployed with the current configur
has_linux_agents — A flag that indicates if Linux agents have been deployed with the current configuration.
linux_agents_count — A number that indicates the number of Linux agents that have been deployed with the current configur
Resources (2)
azurerm_container_groupazurerm_resource_group
Details
FrameworkTerraform Module
LanguageHCL
Version0.9.4
Cloud AZURERM
★ Stars103
Forks65
Total downloads40.0k
Inputs13
Outputs8
Resources2
LicenseMIT
NamespaceAzure
Updated