From 92f115803b3909be2e895f31d8990528f52f0dbd Mon Sep 17 00:00:00 2001 From: luxu-ms Date: Wed, 10 Apr 2024 07:05:12 +0000 Subject: [PATCH] Rebuild ARM templates --- Environments/eShop/azuredeploy.json | 52 +++++++++++++---------------- 1 file changed, 24 insertions(+), 28 deletions(-) diff --git a/Environments/eShop/azuredeploy.json b/Environments/eShop/azuredeploy.json index b20d8565..1a161bb2 100644 --- a/Environments/eShop/azuredeploy.json +++ b/Environments/eShop/azuredeploy.json @@ -5,7 +5,7 @@ "_generator": { "name": "bicep", "version": "0.26.54.24096", - "templateHash": "5335287364340536322" + "templateHash": "6443241281576436581" } }, "parameters": { @@ -25,25 +25,13 @@ "description": "The location used for all deployed resources" } }, - "inputs": { - "type": "secureObject", - "metadata": { - "azd": { - "type": "inputs", - "autoGenerate": { - "eventbus": { - "password": { - "len": 10 - } - }, - "postgres": { - "password": { - "len": 10 - } - } - } - } - } + "eventbusPassword": { + "type": "securestring", + "minLength": 10 + }, + "postgresPassword": { + "type": "securestring", + "minLength": 10 } }, "variables": { @@ -62,14 +50,17 @@ }, "mode": "Incremental", "parameters": { + "eventbusPassword": { + "value": "[parameters('eventbusPassword')]" + }, + "postgresPassword": { + "value": "[parameters('postgresPassword')]" + }, "location": { "value": "[parameters('location')]" }, "tags": { "value": "[variables('tags')]" - }, - "inputs": { - "value": "[parameters('inputs')]" } }, "template": { @@ -79,7 +70,7 @@ "_generator": { "name": "bicep", "version": "0.26.54.24096", - "templateHash": "13501501416131613708" + "templateHash": "7811954589280961793" } }, "parameters": { @@ -97,8 +88,13 @@ "description": "Tags that will be applied to all resources" } }, - "inputs": { - "type": "secureObject" + "eventbusPassword": { + "type": "securestring", + "minLength": 10 + }, + "postgresPassword": { + "type": "securestring", + "minLength": 10 } }, "variables": { @@ -188,7 +184,7 @@ "secrets": [ { "name": "rabbitmq-default-pass", - "value": "[parameters('inputs').eventbus.password]" + "value": "[parameters('eventbusPassword')]" } ] }, @@ -236,7 +232,7 @@ "secrets": [ { "name": "postgres-password", - "value": "[parameters('inputs').postgres.password]" + "value": "[parameters('postgresPassword')]" } ] },