Skip to content

sironite/terraform-azurerm-availability_set

Repository files navigation

Availability Set for Virtual Machines

Changelog Notice Apache V2 License TF Registry

Usage - Module

Availability Set for Virtual Machines

module "availability_set" {
  source  = "sirensolutions/availability_set/azurerm"
  version = "X.X.X"

  availability_set_name        = "example"
  location                     = "eastus"
  managed                      = true
  platform_fault_domain_count  = 3
  platform_update_domain_count = 5
  proximity_placement_group_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.Compute/proximityPlacementGroups/example"

}

Providers

Name Version
azurerm >=2.0.0

Modules

No modules.

Resources

Name Type
azurerm_availability_set.example resource

Inputs

Name Description Type Required
availability_set_name The name of the availability set string yes
location The Azure Region in which all resources in this example should be created. string yes
resource_group_name The name of the resource group in which to create the availability set. string yes
managed Is this an availability set managed by Azure? bool no
platform_fault_domain_count The number of fault domains that the availability set should have. number no
platform_update_domain_count The number of update domains that the availability set should have. number no
proximity_placement_group_id The ID of the proximity placement group to associate with the availability set. string no
tags A mapping of tags to assign to the resource. map(string) no

Outputs

Name Description
availability_set_id The ID of the availability set.
availability_set_name The name of the availability set.

Related documentation