Added outputs

This commit is contained in:
Tom Archer
2024-01-26 07:31:18 -08:00
parent 0837a1275c
commit 368ab4ff9b
2 changed files with 29 additions and 6 deletions

View File

@ -1,3 +1,7 @@
resource "random_pet" "prefix" {
prefix = var.prefix
length = 1
}
resource "azurerm_resource_group" "rg" {
name = "${random_pet.prefix.id}-rg"
location = var.resource_group_location
@ -93,8 +97,3 @@ resource "azurerm_firewall_network_rule_collection" "net-rc" {
]
}
}
resource "random_pet" "prefix" {
prefix = var.prefix
length = 1
}