任何人都可以帮我问一下:我想使用 Terraform 从运行手册库中导入 azure 自动化帐户中的运行手册。在下面的示例中,我指的是 URI,但我想从 Runbook 库导入:
resource "azurerm_automation_runbook" "example" {
name = "Get-AzureVMTutorial"
location = "${azurerm_resource_group.example.location}"
resource_group_name = "${azurerm_resource_group.example.name}"
account_name = "${azurerm_automation_account.example.name}"
log_verbose = "true"
log_progress = "true"
description = "This is an example runbook"
runbook_type = "PowerShellWorkflow"
publish_content_link {
uri = "${var.runbooklink}"
}
}`