computegroup

Azure/computegroup/azurerm

Terraform Module HCL AZURERM ⏱ stale 3y 5mo

Terraform Azure RM Compute Group Module

Install

module "computegroup" {
source = "Azure/computegroup/azurerm"
version = "2.1.0"
}
⭐ Source on GitHub 📦 Registry page

README

terraform-azurerm-computegroup Deploys a group of Virtual Machines exposed to a public IP via a Load Balancer ![Build Status](https://travis-ci.org/Azure/terraform-azurerm-computegroup) This Terraform module deploys a Virtual Machines Scale Set in Azure and opens the specified ports on the loadbalancer for external access and returns the id of the VM scale set deployed. This module requires a network and loadbalancer to be provider separately. You can provision them with the "Azure/network/azurerm" and "Azure/loadbalancer/azurerm" modules. Usage Using the vm_os_simple: ``hcl provider "azurerm" { version = "~> 1.0" } variable "resource_group_name" { default = "terraform-test" } module "network" { source = "Azure/network/azurerm" location = "westus" resource_group_name = "${var.resource_grou

Inputs (21)

NameTypeDescriptionDefault
vnet_subnet_idstringThe subnet id of the virtual network on which the vm scale set will be connected required
load_balancer_backend_address_pool_idsstringThe id of the backend address pools of the loadbalancer to which the VM scale se required
network_profilestringThe name of the network profile that will be used in the VM scale set"terraformnetworkprofile"
vm_os_simplestringSpecify Ubuntu or Windows to get the latest version of each os""
vm_os_publisherstringThe name of the publisher of the image that you want to deploy""
vm_os_skustringThe sku of the image that you want to deploy""
vm_os_versionstringThe version of the image that you want to deploy."latest"
resource_group_namestringThe name of the resource group in which the resources will be created"vmssrg"
locationstringThe location where the resources will be created""
computer_name_prefixstringThe prefix that will be used for the hostname of the instances part of the VM sc"vmss"
managed_disk_typestringType of managed disk for the VMs that will be part of this compute group. Allowa"Standard_LRS"
cmd_extensionstringCommand to be excuted by the custom script extension"echo hello"
vm_sizestringSize of the Virtual Machine based on Azure sizing"Standard_A0"
admin_usernamestringThe admin username of the VMSS that will be deployed"azureuser"
nb_instancestringSpecify the number of vm instances"1"
vm_os_offerstringThe name of the offer of the image that you want to deploy""
tagsmapA map of the tags to use on the resources that are deployed with this module.{ "source": "terraform" }
vmscaleset_namestringThe name of the VM scale set that will be created in Azure"vmscaleset"
admin_passwordstringThe admin password to be used on the VMSS that will be deployed. The password mu""
ssh_keystringPath to the public key to be used for ssh access to the VM"~/.ssh/id_rsa.pub"
vm_os_idstringThe ID of the image that you want to deploy if you are using a custom image.""

Outputs (1)

vmss_id

Resources (2)

azurerm_resource_groupazurerm_virtual_machine_scale_set

Details

FrameworkTerraform Module
LanguageHCL
Version2.1.0
Cloud AZURERM
★ Stars10
Forks38
Total downloads11.8k
Inputs21
Outputs1
Resources2
LicenseMIT
NamespaceAzure
Updated