You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/aca/10-aca-iac-bicep/index.md
+21-18Lines changed: 21 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -270,24 +270,7 @@ To achieve this, add a new file under the `bicep` directory as shown below:
270
270
271
271
### Deploy the Infrastructure and Create the Components
272
272
273
-
With the steps above completed we are ready to deploy all the different resources. We just need to create a parameters file which will simplify the invocation of the main bicep file.
274
-
275
-
To achieve this, right click on file `main.bicep` and select **Generate Parameter File**. This will result in creating a file named `main.parameters.json` similar to the file below:
To use this file, you need to edit this generated file and provide values for the parameters. You can use the same values shown above in sample file.
287
-
288
-
You only need to replace parameter values between the angle brackets `<>` with values related to your ACR resource and SendGrid.
289
-
290
-
Start the deployment by calling `az deployment group create`. To accomplish this, open the PowerShell console and use the content below.
273
+
Start by creating a new resource group which will contain all the resources to be created by the Bicep scripts.
291
274
292
275
```Powershell
293
276
az group create `
@@ -308,6 +291,26 @@ az acr create `
308
291
!!! note
309
292
Once the RG and ACR are created you can check [this section](../../aca/08-aca-monitoring/index.md#2-build-new-images-and-push-them-to-acr) which shows the different commands to build and push the images to ACR. Make sure you are at the root project directory when executing the aforementioned commands. Finally run the bicep file against the newly created Resource Group as shown below.
310
293
294
+
With the steps above completed we are ready to deploy all the different resources. We just need to create a parameters file which will simplify the invocation of the main bicep file.
295
+
296
+
To achieve this, right click on file `main.bicep` and select **Generate Parameter File**. This will result in creating a file named `main.parameters.json` similar to the file below:
0 commit comments