Skip to content

Commit

Permalink
Copied portal quickstart in having account use MSI and use public net…
Browse files Browse the repository at this point in the history
…work access
  • Loading branch information
TomArcherMsft committed Nov 21, 2024
1 parent fdd218c commit bf53cf1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions quickstart/101-azure-automation/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,10 @@ resource "azurerm_automation_account" "example" {
resource_group_name = azurerm_resource_group.rg.name
location = azurerm_resource_group.rg.location
sku_name = "Basic"
identity {
type = "UserAssigned"
identity_ids = [azurerm_user_assigned_identity.example.id]
}

public_network_access_enabled = true
}

0 comments on commit bf53cf1

Please sign in to comment.