azurerm_orchestrated_virtual_machine_scale_set

Manages an Virtual Machine Scale Set in Flexible Orchestration Mode.

Disclaimers

Example Usage

resource "azurerm_resource_group" "example" {
  name     = "example-resources"
  location = "West Europe"
}

resource "azurerm_orchestrated_virtual_machine_scale_set" "example" {
  name                = "example-VMSS"
  location            = azurerm_resource_group.example.location
  resource_group_name = azurerm_resource_group.example.name

  platform_fault_domain_count = 1

  zones = ["1"]
}

Argument Reference


An additional_capabilities block supports the following:


An os_profile block supports the following:


A windows_configuration block supports the following:


A linux_configuration block supports the following:


A secret block supports the following:


An additional_unattend_content block supports the following:


A (Windows) certificate block supports the following:


A (Linux) certificate block supports the following:


An admin_ssh_key block supports the following:


A winrm_listener block supports the following:


An automatic_instance_repair block supports the following:


A boot_diagnostics block supports the following:


A certificate block supports the following:


A diff_disk_settings block supports the following:


A data_disk block supports the following:


An extension block supports the following:


An ip_configuration block supports the following:


An ip_tag block supports the following:


A network_interface block supports the following:


An os_disk block supports the following:


A plan block supports the following:


A protected_settings_from_key_vault block supports the following:


An identity block supports the following:


A public_ip_address block supports the following:


A termination_notification block supports the following:


A source_image_reference block supports the following:


A priority_mix block supports the following:


Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

An Virtual Machine Scale Set can be imported using the resource id, e.g.

terraform import azurerm_orchestrated_virtual_machine_scale_set.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Compute/virtualMachineScaleSets/scaleset1