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

Error - parsing segment "microsoftRelay": expected the segment "Microsoft.EventHub" to be "Microsoft.Relay" #14404

Closed
mlcooper opened this issue Nov 30, 2021 · 2 comments · Fixed by #14406

Comments

@mlcooper
Copy link

mlcooper commented Nov 30, 2021

Community Note

  • 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 v1.0.11
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v2.87.0

Affected Resource(s)

  • azurerm_monitor_aad_diagnostic_setting

Terraform Configuration Files

Debug Output

Trace output:

2021-11-30T15:52:40.976-0500 [TRACE] vertex "module.daml_tenant_twdcqa.azurerm_monitor_aad_diagnostic_setting.audit_logs": dynamic subgraph encountered errors: parsing "/subscriptions/25e18005-c0af-4bfa-ac48-xxxxxxxxxxxx/resourceGroups/rg-daml-aad-logs-dqa/providers/Microsoft.EventHub/namespaces/evhns-daml-dqa-qa-aad-logs/authorizationRules/daml-aadlogs-diagnostic-setting-auth-policy": parsing segment "microsoftRelay": expected the segment "Microsoft.EventHub" to be "Microsoft.Relay"

Panic Output

Expected Behaviour

This happened while creating brand new resources in Azure. I expected the authorization rules for the Event Hub Namespace to be created without issue.

Actual Behaviour

Error: parsing "/subscriptions/25e18005-c0af-4bfa-ac48-xxxxxxxxxxxx/resourceGroups/rg-daml-aad-logs-dqa/providers/Microsoft.EventHub/namespaces/evhns-daml-dqa-qa-aad-logs/authorizationRules/daml-aadlogs-diagnostic-setting-auth-policy": parsing segment "microsoftRelay": expected the segment "Microsoft.EventHub" to be "Microsoft.Relay"

Steps to Reproduce

  1. terraform apply

Important Factoids

Reverting to v2.85.0 of the azurerm provider does not appear to produce this error.

References

@github-actions
Copy link

github-actions bot commented Dec 2, 2021

This functionality has been released in v2.88.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

github-actions bot commented Jan 2, 2022

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants