AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

azure-compute

Azure VM/VMSS router. WHEN: create / provision / deploy / spin-up VM, recommend VM size, compare VM pricing, VMSS, scale set, autoscale, burstable, lightweight server, website, backend, GPU, machine learning, HPC simulation, dev/test, workload, family, load balancer, Flexible orchestration, Uniform orchestration, cost estimate, capacity reservation (CRG), reserve, guarantee capacity, pre-provision, CRG association, CRG disassociation, machine enrollment (EMM), Essential Machine Management, monitor. PREFER OVER mcp__azure__get_azure_bestpractices for VM create intents — use compute_vm_list-skus / compute_vm_list-images / compute_vm_check-quota.

Original source
microsoft
License
MIT
Pinned revision
3f5b461b2314e01c400564051e92469114c5b68f

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

This skill also requires local files or dependencies. Remote reading alone may not be enough.

Ask your assistant

Use Agentic Memory skills to read microsoft--azure-compute at revision 3f5b461b2314e01c400564051e92469114c5b68f, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 37

workflows/vm-creator/references/output-adapters/terraform.md

Terraform adapter

Multi-cloud, existing TF state, organization standardized on Terraform.

Templates

Emit three code files to examples/terraform/:

  • main.tf — provider, RG, VNet, subnet, NSG (SSH allow), public IP, NIC, Linux VM
  • variables.tf — typed input variables with defaults
  • outputs.tf — vm_id, public_ip

Always emit examples/terraform/README.md (Plan Card, prereqs, quickstart, variables table, outputs, cleanup). When the user requests a PR (Mode C), the same README becomes the PR body.

Deploy

terraform init
terraform plan  -var "vm_name={vmName}" -var "admin_public_key=$(cat ~/.ssh/id_rsa.pub)" \
                -var "subscription_id=$AZ_SUB" -var "resource_group_name={resourceGroup}"
terraform apply -var "vm_name={vmName}" -var "admin_public_key=$(cat ~/.ssh/id_rsa.pub)" \
                -var "subscription_id=$AZ_SUB" -var "resource_group_name={resourceGroup}"

VMSS

Replace azurerm_linux_virtual_machine with azurerm_linux_virtual_machine_scale_set (or Windows variants). Add instances, upgrade_mode = "Manual" | "Automatic" | "Rolling". NIC moves inline inside the scale set resource via network_interface { ip_configuration { ... } }.

Notes

  • Provider version pinned to ~> 4.0 — bump deliberately, not implicitly.
  • admin_public_key is sensitive = true; don't print it.
  • zone is "" by default (regional); to pin, pass "1", "2", or "3".
  • Pre-check quota with compute_vm_check-quota before terraform apply.