-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Support for creation of Azure Data Explorer table and mapping creation #11004
Comments
Here are the Go SDK docs to perform these actions: |
Hi there and thank you for reporting this. Apparently I overlooked docs update in this PR: ADX allows empty mapping rule creation now, so that you can assign table/mapping to it afterwards. Provider currently doesn't interact with ADX directly as the links you've sent aren't ARM resources, they are ADX API resources. I'll leave this up to provider maintainers to decide whether it's a wanted functionality, but in the mean time shoot in a PR to update the docs. |
Re: docs, nevermind, I'm sorry I should have done more research before commenting. Docs are entirely correct, those must exist before being specified. Since tables and mapping can't be created with ARM, I don't think this falls under the scope of azurerm provider. |
Fair enough, I'll close this can't fix for now |
@sonic1981 FWIW I've whipped up a temp band-aid for us (we have the same use-case) this morning: https://github.com/favoretti/terraform-provider-adx Still very fresh and unpublished, writing tests, etc, etc, but might help your case in a couple of days :) |
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! |
Community Note
Description
Currently the
azurerm_kusto_eventhub_data_connection
accepts the parameterstable_name
andmapping_rule_name
but this comes with the warning that:This for me breaks the general terraform flow of creating infrastructure. If I can't create these using terraform it forces me to create the data connection, add the table and mapping manually, then update the terraform to reflect this.
There is Kusto support to add these things, so it should be possible to accept a string containing a kusto query to create these things at the same time as the resource:
e.g.
New or Affected Resource(s)
Potential Terraform Configuration
or possible need a new resource type(s):
azurerm_kusto_database_table
azurerm_kusto_database_mapping
The text was updated successfully, but these errors were encountered: