Endpoints and routes should be provisioned using the separate resources in different modules (instead of configuring them in the iothub resource directly).
Other inputs to the iothub resource should be exposed as terraform variables on the module.
Include the id, the hostname, and any other relevant variables in the module output.
The module should depend on the external resource group module for the resource group. It should also follow the provision pattern established in the other modules. Use https://github.com/cloud-native-toolkit/terraform-azure-vnet as a reference
(Click Preview to navigate to guides) Please read the guides on how to create a module for the catalog:
Type of module terraform
If requesting a terraform module, what is the target cloud platform? azure
What is the purpose of the module?
This module will provision an instance of IoT Hub in an Azure account. It should use the iothub resource in the Azure terraform provider - https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/iothub .
Endpoints and routes should be provisioned using the separate resources in different modules (instead of configuring them in the iothub resource directly).
Other inputs to the iothub resource should be exposed as terraform variables on the module.
Include the id, the hostname, and any other relevant variables in the module output.
The module should depend on the external resource group module for the resource group. It should also follow the
provision
pattern established in the other modules. Use https://github.com/cloud-native-toolkit/terraform-azure-vnet as a referenceWhat is the category of the module? iot