cloud-native-toolkit / cloud-native-toolkit/software-everywhere
Request new module: azure-iot-hub
- Dominant language
- TypeScript
- Stars
- 8
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
(Click Preview to navigate to guides) Please read the guides on how to create a module for the catalog:
- [Guide for a GitOps Module](https://modules.cloudnativetoolkit.dev/#/how-to/gitops)
- [Guide for a Terraform Module](https://modules.cloudnativetoolkit.dev/#/how-to/terraform)
**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).
- https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/iothub_route
- https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/iothub_endpoint_eventhub
- https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/iothub_endpoint_servicebus_queue
- https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/iothub_endpoint_servicebus_topic
- https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/iothub_endpoint_storage_container
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
**What is the category of the module?**
iot
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.