201-web-app-postgres-keyvault patch (#179)

* fix example
This commit is contained in:
Dingjia Chen
2023-03-01 23:41:59 -06:00
committed by GitHub
parent 95a5b0cac4
commit 5e48773198
8 changed files with 126 additions and 111 deletions

View File

@ -1,5 +1,10 @@
resource "azurerm_resource_group" "webAppMySqlRg" {
name = "${var.rg}"
location = "${var.loc}"
tags = "${var.tags}"
resource "azurerm_resource_group" "web_app_mysql_rg" {
name = "${random_pet.prefix.id}-rg"
location = var.loc
tags = var.tags
}
resource "random_pet" "prefix" {
prefix = var.prefix
length = 1
}