Skip to content

compute/availability_set

Overview

This page documents the Terraform module implementation, key configuration surfaces, and how it integrates with CAF.

Dependency diagram (Mermaid)

graph TD azurecaf_name.avset["azurecaf_name.avset"] azurerm_availability_set.avset["azurerm_availability_set.avset"] azurerm_availability_set.avset --> azurecaf_name.avset

Module Reference

Category: compute
Path: modules/compute/availability_set
Azure Resources: azurecaf_name, azurerm_availability_set

Inputs

Name Description Type Required Default Validation
global_settings Global settings object (see module README.md) any yes - -
client_config Client configuration object (see module README.md). any yes - -
location (Required) Specifies the supported Azure location where to create the resource. Changing this forces a new resource t... string yes - -
resource_group_name Name of the existing resource group to deploy the virtual machine any yes - -
base_tags Base tags for the resource to be inherited from the resource group. map(any) yes - -
settings The settings for the Azure resource. any yes - -
availability_sets any yes - -
tags any no - -
name any yes - -
ppg_id any yes - -
proximity_placement_groups any yes - -

Outputs

Name Description Sensitive Value
id - azurerm_availability_set.avset.id
name - azurecaf_name.avset.result

Sources

  • modules/compute/availability_set/availability_set.tf
  • modules/compute/availability_set/locals.tf
  • modules/compute/availability_set/main.tf
  • modules/compute/availability_set/outputs.tf
  • modules/compute/availability_set/variables.tf