Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we data refer to Eventhub instances from Eventhub namespaces #5599

Closed
adeshreddy opened this issue Feb 3, 2020 · 2 comments
Closed

Can we data refer to Eventhub instances from Eventhub namespaces #5599

adeshreddy opened this issue Feb 3, 2020 · 2 comments

Comments

@adeshreddy
Copy link

adeshreddy commented Feb 3, 2020

Can we data refer to Eventhub instances through Eventhub namespaces in Terraform?
Right now I am data referring to Eventhub namespace but I am unable to get the instances in the output!
I want to data refer the Eventhub's under the Eventhub namespace's and use them for creating IoT hub routes

Right now there is data refer block for [eventhub namespaces] with attribute refrences(https://www.terraform.io/docs/providers/azurerm/d/eventhub_namespace.html)

data "azurerm_eventhub_namespace" "eventhub_namespace" {
  name  ="example"
  resource_group_name = "example resource group"
}

But there is nothing for referring to eventhub's in eventhub namespaces .
is there something like

data "azurerm_eventhub" "eventhub" {
  name_eventhub_namespace  ="example"
  eventhub_name = "example eventhub"
}
@tombuildsstuff
Copy link
Contributor

Closing in favour of #6460 which is asking for the same thing

@ghost
Copy link

ghost commented May 14, 2020

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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators May 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants