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
Terraform (and AzureRM Provider) Version
terraform: 0.12.24
azurerm: 2.6.0
Affected Resource(s)
azurerm_eventhub_namespace_authorization_rule
Terraform Configuration Files
# Copy-paste your Terraform configurations here - for large Terraform configs,# please use a service like Dropbox and share a link to the ZIP file. For# security, you can also encrypt the files using our GPG public key: https://keybase.io/hashicorp
Debug Output
Panic Output
Expected Behavior
Importing a eventhub_namespace_authorization_rule resource as per the example shown in the docs should work.
Actual Behavior
Received an error about a missing parameter, which oddly doesn't match the fix I've raised in the PR mentioned below:
Error: Error making Read request on Azure EventHub Authorization Rule : eventhub.NamespacesClient#GetAuthorizationRule: Invalid input: autorest/validation: validation failed: parameter=authorizationRuleName constraint=MinLength value="" details: value length must be greater than or equal to 1
Now, try again but make the 'A' in authorizationRules uppercase. This will work:
`terraform import azurerm_eventhub_namespace_authorization_rule /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.EventHub/namespaces/namespace1/AuthorizationRules/rule1
The text was updated successfully, but these errors were encountered:
rudolphjacksonm
changed the title
Incorrect Resource ID Format for Importing eventhub_namespace_authorization_rule
Incorrect Resource ID Format for Importing eventhub_namespace_authorization_rule in Documentation
May 12, 2020
As you've mentioned the fix for this has been merged in #6878 - this'll get published onto the Terraform Website when we release version 2.10 of the Azure Provider later this week.
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 👉 hashibot-feedback@hashicorp.com. Thanks!
Community Note
Terraform (and AzureRM Provider) Version
Affected Resource(s)
azurerm_eventhub_namespace_authorization_rule
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
Importing a eventhub_namespace_authorization_rule resource as per the example shown in the docs should work.
Actual Behavior
Received an error about a missing parameter, which oddly doesn't match the fix I've raised in the PR mentioned below:
Steps to Reproduce
terraform import azurerm_eventhub_namespace_authorization_rule /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.EventHub/namespaces/namespace1/authorizationRules/rule1
Now, try again but make the 'A' in
authorizationRules
uppercase. This will work:`terraform import azurerm_eventhub_namespace_authorization_rule /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.EventHub/namespaces/namespace1/AuthorizationRules/rule1
Important Factoids
References
The text was updated successfully, but these errors were encountered: