101-front-door-classic patch (#170)

* fix example
This commit is contained in:
Dingjia Chen
2023-02-21 00:28:55 -06:00
committed by GitHub
parent 0ba1d6ae57
commit ef09110e94
4 changed files with 26 additions and 19 deletions

View File

@ -1,8 +1,9 @@
resource "azurerm_resource_group" "my_resource_group" {
name = var.resource_group_name
resource "azurerm_resource_group" "rg" {
name = "${random_pet.prefix.id}-rg"
location = var.location
}
resource "random_id" "front_door_name" {
byte_length = 8
}
resource "random_pet" "prefix" {
prefix = var.prefix
length = 1
}