IaC Bazaar
AzureLive-tested

Azure Linux VM Scale Set (Uniform)

A self-contained Linux VM Scale Set (Uniform orchestration) on Azure - one apply creates the resource group, VNet, subnet, NSG and an SSH-key-only scale set with deny-all-inbound and no public IPs.

terraformAzure#azure
azure-vmssterraform v1.7

Verification

Live-tested

Really deployed to a cloud sandbox, verified against its outputs and assertions, then destroyed - with the teardown confirmed.

Conformance

  • Static validation (fmt · validate · tflint)
  • Security scan clean (Checkov)
  • Plan test superseded by live test

Provenance

Functional

  • Live-tested - applied, verified, destroyed

Last verified 2026-06-30 · how we verify

Verify this download

cosign · sha-256

Don't take our word for it. Every release is signed with cosign - check the bytes against our pinned public key before you trust them.

# 1. Our pinned public key - fetch once, trust out-of-band
curl -O https://www.iac-bazaar.com/cosign.pub

# 2. This module's Sigstore bundle
curl -o azure-vmss-1.0.0.sigstore.json \
  https://www.iac-bazaar.com/api/artifacts/azure-vmss/signature

# 3. Verify the tarball you downloaded
cosign verify-blob \
  --key cosign.pub \
  --bundle azure-vmss-1.0.0.sigstore.json \
  azure-vmss-1.0.0.tar.gz
# → Verified OK

# 4. (optional) confirm the checksum too
echo "9aa6f008f74f2db24e9d1ff24ee40e453cb3b0af6beb8cfe40bd176bbb905f3b  azure-vmss-1.0.0.tar.gz" | sha256sum -c

Use it from the registry

terraform · opentofu
module "vmss" {
  source  = "www.iac-bazaar.com/iac-bazaar/azure-vmss/azure"
  version = "1.0.0"
}

Paid module — needs a purchase (or a subscription that covers it) plus a registry token from /account/tokens. Full setup: registry docs.

Inputs & outputs

Create a free account to read this module's contract

The declared contract — every input name, type, default and description, plus every output — is shown to signed-in accounts, not to anonymous visitors.

A free account sees the contract of every Free module. This one is Professional, so its contract unlocks when you buy it.

Documentation

azure-vmss

Status: static-validated, live-test pending. Ships under live-test quarantine until promoted by the Azure live lane. Schema is validated against the azurerm v4 provider docs.

A Linux Virtual Machine Scale Set (Uniform orchestration) on Azure, fully self-contained by default. One tofu apply creates everything — resource group, virtual network, subnet, NSG and the scale set — and tofu destroy removes all of it (including the resource group). Point subnet_id at an existing subnet to instead consume your own network. Works with Terraform and OpenTofu (>= 1.6), azurerm provider >= 4.0, < 5.0.

What it provisions

  • azurerm_resource_group (created and destroyed by this module)
  • azurerm_virtual_network + azurerm_subnet (self-contained mode only)
  • azurerm_network_security_group + subnet association — deny-all inbound by default; SSH (22) opened only from allowed_ssh_cidr when set (self-contained mode only)
  • azurerm_linux_virtual_machine_scale_set — SSH-key-only, system-assigned managed identity, no public IPs, overprovision = false, managed boot diagnostics

Secure defaults

  • SSH-key auth onlydisable_password_authentication = true; a valid admin_ssh_public_key is required.
  • No public IPs on instances — they are private behind the VNet (reach them via a bastion, VPN or peering).
  • Deny-all inbound NSG by default — SSH is opened only when you set allowed_ssh_cidr, and only from that CIDR.
  • System-assigned managed identity for least-privilege role grants.
  • OS disks encrypted at rest with platform-managed keys (always on in Azure); optional encryption-at-host and Trusted Launch (Secure Boot + vTPM).
  • overprovision = false — the running instance count stays exactly equal to instances (predictable cost and quota; no transient extra VMs).

License

Commercial — LicenseRef-IaCBazaar-Commercial

Usage code & full reference unlock after purchase

The complete copy-paste usage, the full input/output reference, and operational notes ship with your licence - shown here and bundled in the download.

  • Usage
  • Inputs
  • Outputs
  • Requirements & notes

Related modules