This module is used to create and manage Proximity Placement Groups in Azure. Proximity Placement Groups are used to minimize latency between compute resources by grouping them within a specific data center.
- Create a Proximity Placement Group to optimize compute latency.
- Easily integrate with virtual machines, scale sets, and availability sets to ensure low-latency communication.
To use this module in your Terraform configuration, you'll need to provide values for the required variables.
This example demonstrates how to create a Proximity Placement Group.
module "proximity_placement_group" {
source = "Azure/avm-res-compute-proximity-placement-group/azurerm"
name = "myProximityPlacementGroup"
location = "East US"
resource_group_name = "myResourceGroup"
allowed_vm_sizes = ["Standard_D2ds_v5"]
zone = "1"
}
The following requirements are needed by this module:
The following resources are used by this module:
- azurerm_management_lock.this (resource)
- azurerm_proximity_placement_group.this (resource)
- modtm_telemetry.telemetry (resource)
- random_uuid.telemetry (resource)
- azurerm_client_config.telemetry (data source)
- modtm_module_source.telemetry (data source)
The following input variables are required:
Description: The Azure location where the proximity placement group should exist.
Type: string
Description: The name of the proximity placement group.
Type: string
Description: The name of the resource group in which to create the proximity placement group.
Type: string
The following input variables are optional (have default values):
Description: (Optional) Specifies the supported sizes of virtual machines that can be created in the proximity placement group.
Type: list(string)
Default: null
Description: This variable controls whether or not telemetry is enabled for the module.
For more information see https://aka.ms/avm/telemetryinfo.
If it is set to false, then no telemetry will be collected.
Type: bool
Default: true
Description: Controls the Resource Lock configuration for this resource. The following properties can be specified:
kind
- (Required) The type of lock. Possible values are\"CanNotDelete\"
and\"ReadOnly\"
.name
- (Optional) The name of the lock. If not specified, a name will be generated based on thekind
value. Changing this forces the creation of a new resource.
Type:
object({
kind = string
name = optional(string, null)
})
Default: null
Description: Map of tags to assign to the proximity placement group.
Type: map(string)
Default: null
Description: (Required) Specifies the supported zone of the proximity placement group. Changing this forces a new resource to be created.
Type: string
Default: "1"
The following outputs are exported:
Description: The Azure deployment region.
Description: This is the full output for the resource.
Description: The name of the resource group.
Description: This id of the resource.
No modules.
The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the repository. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft’s privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.