Skip to content

iot/iot_hub_dps

Overview

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

Dependency diagram (Mermaid)

graph TD azurecaf_name.iothdps["azurecaf_name.iothdps"] azurerm_iothub_dps.iothubdps["azurerm_iothub_dps.iothubdps"] remote:iot_hub["remote:iot_hub"] remote:iot_hub_shared_access_policy["remote:iot_hub_shared_access_policy"] azurerm_iothub_dps.iothubdps --> azurecaf_name.iothdps azurerm_iothub_dps.iothubdps --> remote:iot_hub azurerm_iothub_dps.iothubdps --> remote:iot_hub_shared_access_policy

Module Reference

Category: iot
Path: modules/iot/iot_hub_dps
Azure Resources: azurecaf_name, azurerm_iothub_dps

Inputs

Name Description Type Required Default Validation
"settings" "The settings for the Azure resource." any yes - -
"global_settings" "Global settings object (see module README.md)" any yes - -
"client_config" "Client configuration object (see module README.md)." any yes - -
"resource_group_name" "(Required) Resource group of the IoT Hub DPS" any yes - -
"resource_group" "Resource group object to deploy the IoT Hub DPS" any yes - -
"location" "(Required) Region in which the resource will be deployed" any yes - -
"remote_objects" "Remote objects configuration." any no {} -
"base_tags" "Base tags for the resource to be inherited from the resource group." bool yes - -

Outputs

Name Description Sensitive Value
"id" - azurerm_iothub_dps.iothubdps.id
"name" - azurerm_iothub_dps.iothubdps.name
"device_provisioning_host_name" - azurerm_iothub_dps.iothubdps.device_provisioning_host_name
"id_scope" - azurerm_iothub_dps.iothubdps.id_scope
"service_operations_host_name" - azurerm_iothub_dps.iothubdps.service_operations_host_name

Sources

  • modules/iot/iot_hub_dps/iot_hub_dps.tf
  • modules/iot/iot_hub_dps/locals.tf
  • modules/iot/iot_hub_dps/main.tf
  • modules/iot/iot_hub_dps/outputs.tf
  • modules/iot/iot_hub_dps/variables.tf