Skip to content

Commit

Permalink
Add output for virtual network ID and configure Azure AD authenticati…
Browse files Browse the repository at this point in the history
…on for backend
  • Loading branch information
martinyy108 committed Nov 23, 2024
1 parent 722ee42 commit 53f2d55
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main/outputs.tf
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@

#create some output for my learning
output "vnet_id" {
value = azurerm_virtual_network.example.id
}
4 changes: 4 additions & 0 deletions main/terraform.tf
Original file line number Diff line number Diff line change
@@ -5,6 +5,10 @@ terraform {
version = "4.11.0"
}
}

backend "azurerm" {
use_azuread_auth = true # Removes the need to use SA keys
}
}

provider "azurerm" {

0 comments on commit 53f2d55

Please sign in to comment.