From 29f223f911844423b3de03a828b8cd2ab43a6f50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9lder=20Pinto?= Date: Sat, 28 Sep 2024 14:47:36 +0100 Subject: [PATCH] Adds git checkout instruction to avoid conflicts with dev main branch (#1013) Co-authored-by: Helder Pinto --- docs/_optimize/optimization-engine/README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/_optimize/optimization-engine/README.md b/docs/_optimize/optimization-engine/README.md index b4fffadf3..ee588e30e 100644 --- a/docs/_optimize/optimization-engine/README.md +++ b/docs/_optimize/optimization-engine/README.md @@ -125,11 +125,12 @@ During deployment, you'll be asked several questions. You must plan for the foll The simplest, quickest and recommended method for installing AOE is by using the **Azure Cloud Shell** (PowerShell). You just have to follow these steps: 1. Open Azure Cloud Shell (PowerShell) -2. Run `git clone https://github.com/microsoft/finops-toolkit.git finops-toolkit` -3. Run `cd finops-toolkit/src/optimization-engine` -4. (optional) Run `Install-Module Microsoft.Graph.Authentication,Microsoft.Graph.Identity.DirectoryManagement` - this is required to grant the Global Reader role to the Automation Managed Identity in Microsoft Entra ID, used by Identity and RBAC governance features. -5. Run `./Deploy-AzureOptimizationEngine.ps1` -6. Input your deployment options and let the deployment finish (it will take less than 5 minutes) +1. Run `git clone https://github.com/microsoft/finops-toolkit.git` +1. Run `git checkout main` +1. Run `cd finops-toolkit/src/optimization-engine` +1. (optional) Run `Install-Module Microsoft.Graph.Authentication,Microsoft.Graph.Identity.DirectoryManagement` - this is required to grant the Global Reader role to the Automation Managed Identity in Microsoft Entra ID, used by Identity and RBAC governance features. +1. Run `./Deploy-AzureOptimizationEngine.ps1` +1. Input your deployment options and let the deployment finish (it will take less than 5 minutes) If the deployment fails for some reason, you can simply repeat it, as it is idempotent. The same if you want to upgrade a previous deployment with the latest version of the repo. You just have to keep the same deployment options. _Cool feature_: the deployment script persists your previous deployment options and lets you reuse it!