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

Feature Request: Support for Shared Access Policies in Eventhub Namespaces #626

Closed
tanner-bruce opened this issue Dec 13, 2017 · 5 comments

Comments

@tanner-bruce
Copy link

Terraform Version

0.11.1

Affected Resource(s)

azurerm_eventhub_authorization_rule

Terraform Configuration Files

Example from main docs works

azurerm_eventhub_authorization_rule requires a namespace name and eventhub name, however, in the Azure UI, it is possible to create authorization rules on the namespace itself, so eventhub_name should not be a required parameter.

@tombuildsstuff
Copy link
Contributor

hey @tanner-bruce

Thanks for opening this issue

azurerm_eventhub_authorization_rule requires a namespace name and eventhub name, however, in the Azure UI, it is possible to create authorization rules on the namespace itself, so eventhub_name should not be a required parameter.

Taking a quick look into this - from what I can see this is what's called a Shared Access Policy in the Portal (but referred to in the SDK as an Authorization Rule). Support appears to exist for this on the Event Hub Namespaces Client in the SDK - so it should be possible to add a new resource supporting this functionality.

Thanks!

@iakko
Copy link
Contributor

iakko commented Aug 1, 2018

Hello, any update on this?

@tombuildsstuff
Copy link
Contributor

hey @iakko

Support for Eventhub Namespace Authorization Rules shipped in v1.10 of the AzureRM Provider and can be found here: https://www.terraform.io/docs/providers/azurerm/r/eventhub_namespace_authorization_rule.html

They're currently missing from the sidebar on the website due to a bug which I'll be pushing a commit to fix later today :)

Given support for this has shipped, I'm going to close this issue for the moment.

Thanks!

@ravulachetan
Copy link

ravulachetan commented Oct 1, 2019

Hi @tombuildsstuff

I am using Terraform version 12.7
I am trying to use azurerm_eventhub_namespace_authorization_rule and i am getting error passing eventhub name "eventhub_name"

Error message
An argument named "eventhub_name" is not expected here.

I am able to create Auth rules on EventHub Namespace when i dont use eventhub_name.

Can you look into this please.

@ghost
Copy link

ghost commented Oct 2, 2019

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 Oct 2, 2019
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

5 participants