Azure Hardware Security Module Module

This page shows how to write Terraform for Hardware Security Module Module and write them securely.

azurerm_dedicated_hardware_security_module (Terraform)

The Module in Hardware Security Module can be configured in Terraform with the resource name azurerm_dedicated_hardware_security_module. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Review your Terraform file for Azure best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).


Explanation in Terraform Registry

Manages a Dedicated Hardware Security Module. -> Note: Before using this resource, it's required to submit the request of registering the providers and features with Azure CLI az provider register --namespace Microsoft.HardwareSecurityModules && az feature register --namespace Microsoft.HardwareSecurityModules --name AzureDedicatedHSM && az provider register --namespace Microsoft.Network && az feature register --namespace Microsoft.Network --name AllowBaremetalServers and ask service team ( to approve. See more details from -> Note: If the quota is not enough in some region, please submit the quota request to service team.

Azure Resource Manager Example

Azure Resource Manager code does not have the related resource.

Frequently asked questions

What is Azure Hardware Security Module Module?

Azure Hardware Security Module Module is a resource for Hardware Security Module of Microsoft Azure. Settings can be wrote in Terraform.


Automate config file reviews on your commits

Fix issues in your infrastructure as code with auto-generated patches.