Skip to content

Instantly share code, notes, and snippets.

@holms
Created December 27, 2022 03:06
Show Gist options
  • Save holms/f6248de0bf3dcbcb956162d08562af7e to your computer and use it in GitHub Desktop.
Save holms/f6248de0bf3dcbcb956162d08562af7e to your computer and use it in GitHub Desktop.
Kusto - provision database with terraform from local file
resource "azurerm_kusto_script" "example" {
name = "example-script"
database_name = azurerm_kusto_database.example.name
cluster_name = azurerm_kusto_cluster.example.name
content_script = file("path/to/script.csl")
force_an_update_when_value_changed = md5(file("path/to/script.csl"))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment