fix 101-web-app-linux-container example (#175)

This commit is contained in:
Dingjia Chen
2023-02-24 00:57:52 -06:00
committed by GitHub
parent 20d8beea6d
commit 077374c7c6
4 changed files with 45 additions and 27 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
}