I am trying to automate setting up of IOTHub. But I am not able to find any code related to creating a device in the IOTHub. I found the below command:
resource “azurerm_iothub_device” “example” { name = “device_name” iothub_name = azurerm_iothub.iothub12.name }
but it does not seem to be valid.
I have installed the extensions : azure IoT Hub and IoT Device Workbenenter code here
ch
any suggestions will be appreciated
thank you
CodePudding user response:
According to EliiseS, as of now, support for IoT Hub device creation using Terraform is not available.
As suggested by asergaz, you can vote for the feature request at GO SDK for Azure IoT