You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
Terraform provider doesn't have support for built-in IOTHub EventHub endpoint.
There are two missing things to support such endpoint:
Terraform provider offer resource called "azurerm_eventhub_authorization_rule".
It allows to refer to specific EventHub by providing EventHub name and namespace.
Unfortunately it doesn't support built-in IOTHub EventHub endpoint.
Such endpoint doesn't have explicit "EventHub namespace" which is required by "azurerm_eventhub_authorization_rule" so I don't know what to put as an namespace.
For now I have work around for this by providing connection_string in plain text when referencing EventHub in other endpoint however I would like to use azurerm_eventhub_authorization_rule.
azurerm_iothub_endpoint_eventhub doesn't support endpoint-resource-group. Using Azure CLI it is possible to declare EventHub in specific resource group however when creating this by Terraform resource group of EventHub endpoint is always empty.
New or Affected Resource(s)
azurerm_eventhub_authorization_rule
azurerm_iothub_endpoint_eventhub
Terraform Configuration
data"azurerm_eventhub_authorization_rule""test" {
name="test"namespace_name="I don't have namespace as it is not explicit in build-in IOTHub EventHub !"eventhub_name="${azurerm_eventhub.test.name}"resource_group_name="${azurerm_resource_group.test.name}"
}
resource"azurerm_iothub_endpoint_eventhub""example" {
resource_group_name=azurerm_resource_group.example.nameiothub_name=azurerm_iothub.example.namename="example"connection_string=azurerm_eventhub_authorization_rule.test.primary_connection_string
}
The text was updated successfully, but these errors were encountered:
tomaszszlek
changed the title
Support for azurerm_eventhub_authorization_rule to built-in IOT Hub EventHub endpoint
Support for built-in IOT Hub EventHub endpoint in resources: azurerm_eventhub_authorization_rule and azurerm_iothub_endpoint_eventhub
Jan 12, 2021
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Note
Description
Terraform provider doesn't have support for built-in IOTHub EventHub endpoint.
There are two missing things to support such endpoint:
It allows to refer to specific EventHub by providing EventHub name and namespace.
Unfortunately it doesn't support built-in IOTHub EventHub endpoint.
Such endpoint doesn't have explicit "EventHub namespace" which is required by "azurerm_eventhub_authorization_rule" so I don't know what to put as an namespace.
For now I have work around for this by providing connection_string in plain text when referencing EventHub in other endpoint however I would like to use
azurerm_eventhub_authorization_rule
.azurerm_iothub_endpoint_eventhub
doesn't supportendpoint-resource-group
. Using Azure CLI it is possible to declare EventHub in specific resource group however when creating this by Terraform resource group of EventHub endpoint is always empty.New or Affected Resource(s)
Terraform Configuration
The text was updated successfully, but these errors were encountered: