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.
Parameters
-
idoptional computed - string -
locationrequired - string -
namerequired - string -
resource_group_namerequired - string -
sku_namerequired - string -
stamp_idoptional - string -
tagsoptional - map from string to string -
zonesoptional - list of string -
network_profilelist block-
network_interface_private_ip_addressesrequired - set of string -
subnet_idrequired - string
-
-
timeoutssingle block
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 AllowBaremetalServersand ask service team (hsmrequest@microsoft.com) to approve. See more details from https://docs.microsoft.com/en-us/azure/dedicated-hsm/tutorial-deploy-hsm-cli#prerequisites. -> 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.