101-web-app-windows-dotnet patch (#173)

* fix 101-web-app-windows-dotnet example
This commit is contained in:
Dingjia Chen
2023-02-24 01:25:22 -06:00
committed by GitHub
parent 86ffc09726
commit 2eba295342
4 changed files with 45 additions and 26 deletions

View File

@ -1,8 +1,9 @@
provider "azurerm" {
version = "=1.36.0"
resource "azurerm_resource_group" "default" {
name = "${random_pet.prefix.id}-${var.environment}-rg"
location = var.location
}
resource "azurerm_resource_group" "default" {
name = "${var.name}-${var.environment}-rg"
location = "${var.location}"
}
resource "random_pet" "prefix" {
prefix = var.prefix
length = 2
}